Michael Hipp wrote:

> How do I restart my Django site (uses FastCGI and shared hosting via 
> .htaccess)?
> 
> The docs say 'touch mysite.fcgi' but that does not seem to work. Tried 
> touching all the py files as well as .htaccess.
> 
> I can see the python process still running in memory. If I kill it then 
> it re-loads my code and and I can see changes.

looks like you answered your own question, doesn't it? ;-)

a quick googling indicates that the restart behaviour is configurable; 
form the mod_fastcgi documentation:

  -autoUpdate (none)

     Causes mod_fastcgi to check the modification time of the
     application on disk before processing each request. If the
     application on disk has been changed, the process manager is
     notified and all running instances of the application are killed
     off. In general, it's preferred that this type of functionality be
     built-in to the application (e.g. every 100th request it checks to
     see if there's a newer version on disk and exits if so). There may
     be an outstanding problem (bug) when this option is used with
     -restart.

hope this helps!

</F>


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to