Hi all! I've made my first Django app and it works well in development server. But after deploying it's started working quite unpredictable. 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)..." Also I noticed that one of the fastcgi processes died and another copy appeared (by PIDs). Before, I was trying to get it work with mod_python, but no success... I got the same "Internal Server Error" and "Segmentation Fault (11)" (or "Bus Error (10)" sometimes) in apache logs. One of the apache processes also died. The main problem is that I couldn't catch what caused this problem. I've launched fastcgi process with keys "errlog" and "outlog", but after fault in app both logs are empty anyway. So, I hope anybody already faced with it and knows how to solve it. Any help will be appreciated.
My application is just trying to get static information from database. Nothing special. Besides, I also get this errors in admin interface. So, I guess my app doesn't cause this problems. I do not use mod_php anywhere. 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 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---