On Jan 29, 8:00 pm, Mark <[EMAIL PROTECTED]> wrote: > > > python backend or a process with pidhow to monitor dead backends n reboot > the dead onesmonitseems too complicated > andrunsvhas problems in solaris > so cant use runsv > > and u gotta manually restart the ones that die due to memory leaks > Any pointers > how is it solved by other teams using webpy > for eg ./code.py fastcgi 8081
If you were using daemon mode of mod_wsgi (2.0) you could utilise its features for detecting dead locked application processes and its ability to restart an application process when it has been inactive for a period, ie., not handling requests, or not reading response content or generating response output. For example: WSGIDaemonProcess mysite inactivity-timeout=60 deadlock-timeout=60 Of course, if you are trying to do this on a shared web host where you don't have access to main Apache configuration, then using mod_wsgi isn't likely to be an option. For more details see mod_wsgi site at 'http://www.modwsgi.org'. These particular options are details in: http://code.google.com/p/modwsgi/wiki/ConfigurationDirectives Graham --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web.py" 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/webpy?hl=en -~----------~----~----~----~------~----~------~--~---
