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).

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 at 
http://groups.google.com/group/modwsgi?hl=en.


Reply via email to