On 9 September 2011 09:40, Chris Withers <[email protected]> wrote: > Hi Graham, > > I found this when searching related to the problem: > > http://www.mail-archive.com/[email protected]/msg05760.html > > Is there any way to make 'apache graceful' handle mod_wsgi daemon processes > in a graceful manner rather than restarting them after 3s in quite a brutal > way?
Unfortunately not due to the way that Apache handles any process which isn't one of its own child processes for handling requests. In the working version of mod_wsgi 4.0 in the repository trunk I have made some changes to try and improve the situation slightly by introducing the concept of a graceful-timeout for daemon processes. This doesn't come into play when restarting the whole of Apache though, and only when the daemon processes are restarting due to being explicitly signalled, or if any of the other internal triggers for restart occur (except for touch WSGI script file, which is always still immediate). You can find details of the changes in: http://code.google.com/p/modwsgi/wiki/ChangesInVersion0400 Graham -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en.
