I did Google around but obviously missed this. Having read it and followed the links it is definitely the same issue. I will try and investigate but I think bigger brains than mine have already given up so I may have to find a dirty work round. Thanks for pointing me in the right direction.
Bob > > > On Mon, 2008-10-13 at 21:53 +0100, Bob Cowdery wrote: >> Hi all >> >> Just starting out on Django. I have an app that needs a long running >> process. This is a python process that gets started from some code that >> I kick off from __init__ in a middleware class. Is there another way to >> do this? I just use subprocess.Popen() to start the other process. >> Everything returns fine, the process starts ok but my Django app hangs. >> It never finishes the download of some javascript files although the >> server thinks it sent them. If I don't start the other process or just >> let it exit after a short time my app comes back to life. I really don't >> understand what's going on. It's nothing the other app is doing as it >> happens with just an empty loop. Any ideas? > > You might be hitting bug #9286, which hasn't been diagnosed or solved as > yet. That assumes you're trying to start your other process as a daemon > (so what you're calling in Popen() should return immediately). > > Regards, > Malcolm > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---