Hi

I'm having trouble with site i'm working with. Website is build using
Pylons 0.9.7 and setup is on Apache with mod_wsgi 2.6. Generally
everything is working fine but sometimes after a week or so the wsgi
process get 'killed' with that trace in Apache logs:

mod_wsgi (pid=20008): Exception occurred processing WSGI script '/var/
www/tpn-cms/cgi/wsgi.py'.
[Fri Nov 27 07:32:07 2009] [error] [client 79.77.134.29] IOError:
client connection closed

mod_wsgi conf in apache:

WSGIDaemonProcess tpnssl user=cms group=cms threads=5 maximum-
requests=1000 inactivity-timeout=60 display-name=%{GROUP}
WSGIProcessGroup tpnssl
WSGIScriptAlias /cms /var/www/tpn-cms/cgi/wsgi.py
<Directory /var/www/tpn-cms>
            Order deny,allow
            Allow from all
            WSGIRestrictProcess tpnssl
            SSLOptions +StdEnvVars
</Directory>

I'm considering maybe to setup some watchdog to monitor wsgi apache
process and restart apache when its got killed/crashed.

Thomas

--

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.


Reply via email to