Problems with FastCGI in 4.4-beta1

Jean-Francois Doyon Jean-Francois.Doyon at CCRS.NRCAN.GC.CA
Thu Oct 28 11:14:37 PDT 2004


Hello,

I'm trying to get the FactCGI version working, but am not having any luck:

[Thu Oct 28 14:45:40 2004] [notice] Apache/1.3.31 (Unix) mod_fastcgi/2.4.2
configured -- resuming normal operations
[Thu Oct 28 14:45:40 2004] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Thu Oct 28 14:45:44 2004] [warn] FastCGI: server
"/usr/local/apache/cgi-bin/mapserv" (pid 9471) terminated by calling exit
with status '1'
[Thu Oct 28 14:45:44 2004] [warn] FastCGI: server
"/usr/local/apache/cgi-bin/mapserv" restarted (pid 9478)
[Thu Oct 28 14:45:50 2004] [warn] FastCGI: server
"/usr/local/apache/cgi-bin/mapserv" (pid 9478) terminated by calling exit
with status '1'
[Thu Oct 28 14:45:50 2004] [warn] FastCGI: server
"/usr/local/apache/cgi-bin/mapserv" restarted (pid 9480)
[Thu Oct 28 14:45:57 2004] [warn] FastCGI: server
"/usr/local/apache/cgi-bin/mapserv" (pid 9480) terminated by calling exit
with status '1'
[Thu Oct 28 14:45:57 2004] [warn] FastCGI: server
"/usr/local/apache/cgi-bin/mapserv" restarted (pid 9481)
[Thu Oct 28 14:46:04 2004] [warn] FastCGI: server
"/usr/local/apache/cgi-bin/mapserv" (pid 9481) terminated by calling exit
with status '1'
[Thu Oct 28 14:46:04 2004] [warn] FastCGI: server
"/usr/local/apache/cgi-bin/mapserv" has failed to remain running for 30
seconds given 3 attempts, its restart interval has been backed off to 600
seconds
[Thu Oct 28 14:46:41 2004] [error] [client 132.156.4.96] FastCGI: comm with
server "/usr/local/apache/cgi-bin/mapserv" aborted: idle timeout (30 sec)
[Thu Oct 28 14:46:41 2004] [error] [client 132.156.4.96] FastCGI: incomplete
headers (0 bytes) received from server "/usr/local/apache/cgi-bin/mapserv"
[Thu Oct 28 14:48:36 2004] [error] [client 132.156.4.96] FastCGI: comm with
server "/usr/local/apache/cgi-bin/mapserv" aborted: idle timeout (30 sec)
[Thu Oct 28 14:48:36 2004] [error] [client 132.156.4.96] FastCGI: incomplete
headers (0 bytes) received from server "/usr/local/apache/cgi-bin/mapserv"

This exact same behavior was observed twice in a row.

MapServer is indeed linked to the fcgi library: libfcgi.so.0 =>
/usr/local/lib/libfcgi.so.0 (0x00168000)

I was using the Apache config directive:

FastCgiServer cgi-bin/mapserv

Where the mapserv executable was in apache's default cgi-bin directory.

I'm on CentOS (RHEL 3), with apache 1.3.31 and FastCGI 2.4.2 ...

Anybody else tried this yet? Any success?

Thanks,

Jean-François Doyon
Internet Service Development and Systems Support / Spécialiste de
dèveloppements internet et soutien technique
Canada Centre for Remote Sensing / Centre Canadien de télédétection
Natural Resources Canada / Ressources naturelles Canada
http://atlas.gc.ca
Tel./Tél. : (613) 992-4902
Fax: (613) 947-2410



More information about the MapServer-users mailing list