I have an old Django app that has been working for couple of years without 
problems and today it became unresponsive with error:
Script timed out before returning headers: bbb.wsgi
I've restarted Apache, and even the server, but still get the same error.

Nothing was changed in Django app nor server configuration in the last 
couple of weeks.

I'm running Ubuntu 10.10 with apache 2.2.

apache config:

WSGIDaemonProcess www.bbb.aaa threads=1
WSGIProcessGroup www.bbb.aaa
WSGIApplicationGroup %{GLOBAL}
WSGIScriptAlias /bbb /somepath/bbb.wsgi

wsgi config:

import site
site.addsitedir('somepath/pyenv/django-1.1.2/lib/python2.6/site-packages')

import os, sys
sys.path.append('/somepath/django')
os.environ['DJANGO_SETTINGS_MODULE'] = 'bbb.settings'
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler() 

apache.log (after restart)

[Tue Sep 11 11:48:45 2012] [info] mod_wsgi (pid=2255): Attach interpreter 
''.
[Tue Sep 11 11:48:45 2012] [debug] mod_wsgi.c(8702): mod_wsgi (pid=2255): 
Starting 1 threads in daemon process 'www.bbb.aaa'.
[Tue Sep 11 11:48:45 2012] [debug] mod_wsgi.c(8708): mod_wsgi (pid=2255): 
Starting thread 1 in daemon process 'www.bbb.aaa'.
[Tue Sep 11 11:48:45 2012] [info] mod_wsgi (pid=2255): Enable deadlock 
thread in process 'www.bbb.aaa'.
[Tue Sep 11 11:48:45 2012] [info] mod_wsgi (pid=2255): Enable monitor 
thread in process 'www.bbb.aaa'.
[Tue Sep 11 11:48:45 2012] [debug] mod_wsgi.c(8542): mod_wsgi (pid=2255): 
Deadlock timeout is 300.
[Tue Sep 11 11:48:45 2012] [debug] mod_wsgi.c(8545): mod_wsgi (pid=2255): 
Inactivity timeout is 0.
[Tue Sep 11 11:48:51 2012] [info] [client 192.168.190.129] mod_wsgi 
(pid=2255, process='www.bbb.aaa', application=''): Loading WSGI script 
'/somepath/bbb.wsgi'.
[Tue Sep 11 11:55:09 2012] [error] [client 192.168.191.16] Script timed out 
before returning headers: bbb.wsgi
[Tue Sep 11 11:55:09 2012] [debug] mod_deflate.c(615): [client 
192.168.191.16] Zlib: Compressed 609 to 376 : URL /bbb/

Any help appreciated.

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/modwsgi/-/02hyNqpAKPIJ.
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