#6130: nginx + flup does not work with trunk revisions after 6775
--------------------------------------+-------------------------------------
Reporter: Grigoriy | Owner: nobody
Status: reopened | Milestone:
Component: Template system | Version: SVN
Resolution: | Keywords:
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
--------------------------------------+-------------------------------------
Changes (by qingran):
* status: closed => reopened
* resolution: duplicate =>
Comment:
I got the following error message from the nginx's error log just now, and
it gave the visitor a page only with notice, Unhandled Exception An
unhandled exception was thrown by the application.
2009/05/05 22:52:26 [error] 13881#0: *166350 FastCGI sent in stderr:
"Traceback (most recent call last):
File "/usr/local/lib/python2.5/site-
packages/flup-1.0.1-py2.5.egg/flup/server/fcgi_base.py", line 558, in run
protocolStatus, appStatus = self.server.handler(self)
File "/usr/local/lib/python2.5/site-
packages/flup-1.0.1-py2.5.egg/flup/server/fcgi_base.py", line 1116, in
handler
result = self.application(environ, start_response)
File "/usr/local/lib/python2.5/site-
packages/django/core/handlers/wsgi.py", line 246, in call
signals.request_finished.send(sender=self.class)
File "/usr/local/lib/python2.5/site-
packages/django/dispatch/dispatcher.py", line 148, in send
response = receiver(signal=self, sender=sender, **named)
File "/usr/local/lib/python2.5/site-packages/django/db/init.py", line
46, in close_connection
connection.close()
File "/usr/local/lib/python2.5/site-
packages/django/db/backends/init.py", line 51, in close
self.connection.close()
The information of my enviorment is listed as follows:
OS: FreeBSD-6.2 release amd64
Django: 1.0.2
Python: 2.5.2_2
Flup: 1.0.1
Webserver: nginx-0.6.36
Fastcgi startup command: /usr/local/bin/python manage.py runfcgi
method=threaded umask=000 socket=/var/run/fastcgi.sock
pidfile=/var/run/fastcgi.pid outlog=/var/log/fastcgi.output
errlog=/var/log/fastcgi.error minspare=5 maxspare=18 maxrequests=65
maxchildren=64
--
Ticket URL: <http://code.djangoproject.com/ticket/6130#comment:2>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" 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/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---