fcgi problem -- site down
Posted by: matthewc
Posted on: 2007-01-02 12:26:00
Hi folks. First day of my site going live on dreamhost and it's been down twice already.
The site is ruby on rails using fcgi.
Seems to be a result of my killing the fcgi processes to pick up changes to controllers, etc.
Here's the restart script:
killall -USR1 dispatch.fcgi
echo 'done'
Here's the error in the error.log:
[Tue Jan 02 12:05:45 2007] [error] [client 205.175.225.22] FastCGI: comm with (dynamic) server "/home/wmnf_admin/wmnf.org/wmnf/public/dispatch.fcgi" aborted: (first read) idle timeout (60 sec), referer: http://www.google.com/search?hl=en&q=wmnf radio&btnG=Google Search
[Tue Jan 02 12:05:45 2007] [error] [client 205.175.225.22] FastCGI: incomplete headers (0 bytes) received from server "/home/wmnf_admin/wmnf.org/wmnf/public/dispatch.fcgi"
Before the site went live I used that restart script many times with no problems.
I've seen mentioned elsewhere that clearing the session files might help; tried that, no change.
I've run a console session and queried one of my models, and that returned results as expected, so it's not a coding issue or a database connection issue.
[edited to add crash log]
Here's the last few entries from the fcgi.crash.log. If someone can at least help me get fcgi started again, I would be very grateful.
[02/Jan/2007:06:42:16 :: 25734] starting
[02/Jan/2007:06:42:43 :: 16346] asked to terminate immediately
[02/Jan/2007:06:42:43 :: 16346] terminated by explicit exit
[02/Jan/2007:07:55:17 :: 23641] asked to terminate ASAP
[02/Jan/2007:07:55:17 :: 4262] asked to terminate ASAP
[02/Jan/2007:07:55:19 :: 4262] terminated gracefully
[02/Jan/2007:07:58:35 :: 23641] asked to terminate ASAP
[02/Jan/2007:08:09:35 :: 23641] asked to terminate ASAP
Any suggestions would be greatly appreciated.
thanks
Edited by matthewc on 01/02/07 01:36 PM (server time).