Hey all:

We're running a Django site using Apache+mod_wsgi.  The stack is
pretty typical: Apache 2.2.14, mod_wsgi 3.3, Python 2.6.1.  We're
running single-threaded using DaemonProcess (WSGIDaemonProcess staging
threads=1 processes=8 maximum-requests=10 python-path=[path] display-
name=%{GROUP}).

We're seeing an issue where the Apache server will stop responding to
all requests (even non-WSGI ones) after a fairly large number of
requests.  When we strace the wsgi processes, they are all in poll(),
waiting to be talked to:

poll([{fd=3, events=POLLIN}], 1, -1...

When we look at the httpds, they are blocking on connect to the
mod_wsgi unix socket:

connect(69, {sa_family=AF_FILE, path="/home/actionkit/releases/stable/
apache/logs/.1873.28.7.sock"}, 110

A restart fixes it and then the problem goes away for a few days to a
week.  We're seeing the same behavior across 3 identical webservers.

The problem happens once every few days.

If folks have any ideas on the cause, I'm all ears.  Alternatively, if
there's additional steps we can take to debug that would be helpful,
let me know.

Thanks!

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