Problem with Apache 2 and Graceful restarts

Ewan Bain <[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Organization itXcel Internet Ltd
Message-ID <1129064611.7367.74.camel@dev1>
Hi,

I've got mod_fastcgi-SNAP-0404142202 installed in Apache/2.0.52 on
Linux, everything seems to work well except for one small problem.

My program is set-up as a dynamic application and usually works well,
however when I do a graceful restart of Apache the very first request to
the application fails. I'm getting and internal server error and logs
say :

[Tue Oct 11 19:19:41 2005] [notice] Graceful restart requested, doing
restart
[Tue Oct 11 19:19:42 2005] [notice] FastCGI: process manager initialized
(pid 26578)
[Tue Oct 11 19:19:42 2005] [notice] Apache configured -- resuming normal
operations
[Tue Oct 11 19:19:51 2005] [alert] [client 192.168.0.1] (2)No such file
or directory: FastCGI: failed to connect to (dynamic) server
"/cp/hosted/xxxxxxxx_com/siteXcel/bin/viewer.fcgi": something is
seriously wrong, any chance the socket/named_pipe directory was
removed?, see the FastCgiIpcDir directive, referer:
https://www.xxxxxxx.com/index.html
[Tue Oct 11 19:19:51 2005] [error] [client 192.168.0.1] FastCGI:
incomplete headers (0 bytes) received from server
"/cp/hosted/xxxxxxxx_com/siteXcel/bin/viewer.fcgi", referer:
https://www.xxxxxxx.com/index.html

One complication is that this does not always happen sometimes it works
as expected but more often than not it will fail. From the logs it is
clear the process manager has started but no instance of the application
is ever started.

I'm at a loss as to what the problem is so it would be great if someone
could at least point me in the right direction.

Cheers,
Ewan.

___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.