fastcgi: connection refused: Fastcgi: failed to connect to server

I have Apache 1.3 compiled with mod_fastcgi. It was working fine with rails for a long time. Now it will run for about 20 minutes and then shuts down with the above error.

Anyone run into this.

brad

I think I found the problem.

My hosting provider added a tmpwatch routine to keep track of the /tmp folder. It looks like it was clobbering the fcgi_ipc directory someway/somehow.

I moved the folder out /tmp and everything is running fine.

wbtittle wrote:

Wrong!

There was another little app called killnobody. dispatch.fcgi was running as nobody. Added /usr/local/bin/ruby to the exclusion list of the killnobody script.