There were a couple of posts about this before - and maybe someone can
help me with this.
On Apache2 + mod_wsgi (3.3) + python (2.7)
As traffic has increased on our site - I can see in the logs that
Python process is restarting very often. (4K times a day)
Logs indicate:
[Tue Nov 08 21:20:44 2011] [info] mod_wsgi (pid=9479): Destroying
interpreters.
[Tue Nov 08 21:20:44 2011] [info] mod_wsgi (pid=9479): Cleanup
interpreter ''.
[Tue Nov 08 21:20:44 2011] [info] mod_wsgi (pid=9479): Terminating
Python.
[Tue Nov 08 21:20:44 2011] [info] mod_wsgi (pid=9479): Python has
shutdown.
in apache conf..
WSGIProcessGroup idapp
WSGIDaemonProcess idapp processes=2 threads=15 display-name=%
{GROUP}
WSGIApplicationGroup %{GLOBAL}
WSGIScriptAlias / /company/idsrc/idsrc.wsgi
In idsrc.wsgi
----------------------
import sys
sys.stdout = sys.stderr
activate_this = '/inhaledigital/idsrc/bin/activate_this.py'
execfile(activate_this, dict(__file__=activate_this))
import site
... create app ....
-------------
There was a previous post related to HealthCheck/Pings possibly
causing this. I see the same results after disabling healthchecks.
How can I go about debugging this? Any other information I can provide
to help the investigation?
Thanks
Sujit
--
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.