2009/3/19 Pete <[email protected]>:
>
> 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.

This is not an error from mod_wsgi but from Django and has been
encountered by various people and not just with mod_wsgi. You perhaps
need to be asking about it on one of the Django forums. Doing a Google
query for 'Django NoReverseMatch' also yields a lot of hits. The top
matches are:

  
http://groups.google.com/group/django-users/browse_thread/thread/1f4bb991f9f0f7b5
  
http://groups.google.com/group/django-users/browse_thread/thread/b5b4f4b1110141b5

and presents various ideas and references to Django tickets related to it.

Graham

> 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