Hi,

I use Pylons 1.0 Framework and mod_wsgi on production server.

I can use my application but randomly 1 request on 10 I've error :

"Internal Server Error" in browser and in error log file :

[client 82.231.115.1] Premature end of script headers: demo.wsgi, referer: http://example.com/

I've read already many documentation page about this issue on mod_wsgi and Pylons website.

Have you some idea about this error ?

More information about my configuration :

* I use apache2 from Debian package
* I've compiled Python 2.6 from source code
* I've compiled mod_wsgi-3.3 from source code (I've also tested with mod_wsgi-2.8, same error)

<VirtualHost *:80>
    ServerName example.com

    <IfModule mod_wsgi.c>

        WSGIScriptAlias / /home/examplecom/demo/demo.wsgi
WSGIDaemonProcess mydemo threads=1 maximum-requests=500 inactivity-timeout=500 processes=1 display-name=%{GROUP}
        WSGIProcessGroup mydemo
        WSGIApplicationGroup %{GLOBAL}

    </IfModule>

    ErrorLog /home/examplecom/demo/error.log
    LogLevel info

</VirtualHost>

Thanks for your help.

Regards,
Stephane
--
Stéphane Klein <[email protected]> - French
blog: http://stephane-klein.info
twitter: http://twitter.com/klein_stephane
pro: http://www.is-webdesign.com

--
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en.

Reply via email to