> Sometimes pages load well but sometimes I get "Internal Server Error" > at the same URL. In this case I have to reload page once or twice to > load it properly. I'm using FastCGI and after fault I can see the > following message in the apache logs: > "[error] [client 127.0.0.1] FastCGI: incomplete headers (0 bytes) > received from server "/var/run/fastcgi/django.fcgi", referer: ... > (requested URL)..." I had very similiar errors with mod_wsgi: premature end of script headers.
> I'm using Python 2.5.2 > OS: FreeBSD 7.0 > WebServer: Apache 2.2.8 + FastCGI 2.4.6 (or mod_python 3.3.1) > DB: PostgreSQL 8.3.1 with psycopg2-2.0.6 I highly reccomend you to switch to psycopg2 2.0.8 After I did a switch to this version, I haven't seen any segmentation faults since 30 september 2008 (earlier I had them every few days). Detailed description of what I tried is there but I'm not sure if this applies to fast cgi: http://groups.google.pl/group/modwsgi/browse_thread/thread/e717c65de9ed0ad4 but first thing to do is definitely to change psycopg version! -- Maciej Wisniowski --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---