I'm running mod_wsgi 2.3 in daemon mode behind an Nginx proxy. Every
day or two I see unrepeatable errors like this:

NoReverseMatch: Reverse for 'project.url_name' with arguments '()' and
keyword arguments '{}' not found.

I've pasted a copy of my config and apache error log during the time
this happens below. My initial thought is that requests requests that
"wake up" the server after inactivity or max_requests are causing
this. I would have thought Nginx would just timeout in this event
instead. Any thoughts on what is going on here and what I can do to
fix the situation?

<VirtualHost *:9000>
    ServerName project.com
    ServerAdmin [email protected]
    ErrorLog /var/log/apache2/project.com.log

    WSGIDaemonProcess project user=www-data group=www-data processes=1
threads=10 maximum-requests=500 inactivity-timeout=600
    WSGIProcessGroup project
    WSGIScriptAlias / /django/projects/project.com/apache/django.wsgi
    WSGIPassAuthorization On

    <Directory /django/projects/project.com/apache>
        Order deny,allow
        Allow from all
    </Directory>
</VirtualHost>

[Tue Mar 17 01:07:44 2009] [info] mod_wsgi (pid=8162): Attach
interpreter ''.
[Tue Mar 17 01:07:44 2009] [info] mod_wsgi (pid=8162): Enable monitor
thread in process 'trailmapping'.
[Tue Mar 17 01:07:44 2009] [info] mod_wsgi (pid=8162): Enable deadlock
thread in process 'trailmapping'.
[Tue Mar 17 01:15:19 2009] [info] mod_wsgi (pid=8162): Create
interpreter 'project.com|'.
[Tue Mar 17 01:15:19 2009] [info] [client 67.207.128.83] mod_wsgi
(pid=8162, process='project', application='project.com|'): Loading
WSGI script '/django/projects/project.com/apache/django.wsgi'.


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