Replies from Apache (with "processes=5 threads=1") get much slower and after some timeout I get Internal Server Error from Apache (but sometimes I get normal page but with some delay). The logs I posted some minutes ago are done for cofiguration with ---- WSGIDaemonProcess av_factory user=avfactory threads=15 maximum- requests=10000 display-name=AVASTEP.RU_WSGI ----
Best regards, Kirill Zaborsky On Jan 7, 2:57 pm, Graham Dumpleton <[email protected]> wrote: > 2010/1/7 qrilka <[email protected]>: > > > Actually I run prefork Apache so I changed "threads=25" to > > "processes=5 threads=1" but now receive even more errors and server is > > almost unusable (a lot of 500 errors). > > From where, Apache, mod_wsgi or Django? > > I am assuming not the same premature end of script headers issue but > something else. > > More specific information from error logs for these my be helpful > although sounds like a different issue. > > Graham > > > Best regards, > > Kirill Zaborsky > > > On Jan 6, 9:34 pm, qrilka <[email protected]> wrote: > >> Hello, > >> I have read quite a lot of discussions about problems leading to > >> 'PReamature end of script headers' line in apache log but I still can > >> not find a way to resolve it completely. > >> On avastep.ru we have a Django app (main functionality done with PIL). > >> Site works OK but from time to time I get a line in error log like: > >> --- > >> [Wed Jan 06 21:15:16 2010] [error] [client 85.175.67.142] Premature > >> end of script headers: factory.wsgi, referer:http://www.avastep.ru/ > >> --- > >> and it appears that some of site users have problems. > >> I could not find any way to reproduce this problem otherwise than on > >> that working server. > > >> httpd.conf for the site -http://dpaste.com/141757/ > >> Software installed: CentOS release 5.2 (Final), Python 2.4.3, mod_wsgi > >> 2.8 (fromhttp://codepoint.net/attachments/mod_wsgi/) > > >> Is there any way to diagnose what is wrong with server configuration > >> and how could it be fixed? > >> Many thanks in advance. > > >> Best regards, > >> Kirill Zaborsky > > > -- > > 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 > > athttp://groups.google.com/group/modwsgi?hl=en. > >
-- 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.
