In contiuation to my previous queries..... As soon as I put this daemonize=false option and run the fcgi instances, another error is getting printed in the console: The error is raised by flup, what is this have to do?
File "/repo/django_src/django/core/management.py", line 1666, in execute_from_command_line action_mapping[action](args[1:]) File "/repo/django_src/django/core/management.py", line 1336, in runfcgi runfastcgi(args) File "/repo/django_src/django/core/servers/fastcgi.py", line 164, in runfastcgi WSGIServer(WSGIHandler(), **wsgi_opts).run() File "/usr/lib/python2.4/site-packages/flup-0.5-py2.4.egg/flup/ server/fcgi_fork.py", line 131, in run File "/usr/lib/python2.4/site-packages/flup-0.5-py2.4.egg/flup/ server/preforkserver.py", line 121, in run File "/usr/lib/python2.4/site-packages/flup-0.5-py2.4.egg/flup/ server/preforkserver.py", line 294, in _spawnChild File "/usr/lib/python2.4/site-packages/flup-0.5-py2.4.egg/flup/ server/preforkserver.py", line 350, in _child File "/usr/lib/python2.4/site-packages/flup-0.5-py2.4.egg/flup/ server/fcgi_base.py", line 646, in run File "/usr/lib/python2.4/site-packages/flup-0.5-py2.4.egg/flup/ server/fcgi_base.py", line 682, in process_input File "/usr/lib/python2.4/site-packages/flup-0.5-py2.4.egg/flup/ server/fcgi_base.py", line 781, in _do_params File "/usr/lib/python2.4/site-packages/flup-0.5-py2.4.egg/flup/ server/fcgi_base.py", line 765, in _start_request File "/usr/lib/python2.4/site-packages/flup-0.5-py2.4.egg/flup/ server/fcgi_base.py", line 572, in run File "/usr/lib/python2.4/site-packages/flup-0.5-py2.4.egg/flup/ server/fcgi_base.py", line 578, in _end File "/usr/lib/python2.4/site-packages/flup-0.5-py2.4.egg/flup/ server/fcgi_base.py", line 713, in end_request File "/usr/lib/python2.4/site-packages/flup-0.5-py2.4.egg/flup/ server/fcgi_base.py", line 697, in writeRecord File "/usr/lib/python2.4/site-packages/flup-0.5-py2.4.egg/flup/ server/fcgi_base.py", line 530, in write File "/usr/lib/python2.4/site-packages/flup-0.5-py2.4.egg/flup/ server/fcgi_base.py", line 507, in _sendall socket.error: (104, 'Connection reset by peer') Please help me out on this. On Nov 23, 8:41 pm, madhav <[EMAIL PROTECTED]> wrote: > In continuation to my previous query.... > It works absolutely fine with "daemonize=false". I dont why? > > On Nov 23, 7:50 pm, madhav <[EMAIL PROTECTED]> wrote: > > > Hello everybody, > > I am struck with a very-weird problem. I am unable to import any view/ > > module from my urls.py. This problem is ONLY when I run the webserver > > (lighttpd). When I run my app server(without lighttpd) alone, I wont > > be getting any exception/500 screen. Every url/view gets properly > > executed. I think,there is some problem with my lighttpd, but cant > > figure out where the problem is. I tried importing all the views(even > > I tried executing few testcases which client.get), from the django > > shell, they were getting imported problem. The only problem is with > > the runfcgi. I use lighttpd-fcgi combination to run my web-app > > servers. Please help me out. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---