[mapserver-dev] potential fcgi hang problem

bartvde at osgis.nl bartvde at osgis.nl
Wed Jul 23 04:47:16 EDT 2008


Hi list,

we are running Mapserver as a FCGI, and if someone tries an illegal mode
or something similar, it will cause all the MS threads to hang. We are
guessing this is because of the exit(0)'s in Mapserver's error handler.

Is it possible for someone who is more knowledgeable to look into this? TIA.

So e.g. trying a &mode=ma&layers=all request for about 10 times will cause
everything to freeze up.

What we get is:

[Wed Jul 23 09:53:28 2008] [warn] FastCGI: (dynamic) server
"/var/www/fcgi-bin/mapserv.fcgi" has failed to remain running for 30
seconds given 3 attempts, its restart interval has been backed off to 600
seconds

[Wed Jul 23 10:04:11 2008] [warn] FastCGI: (dynamic) server
"/var/www/fcgi-bin/mapserv.fcgi" (pid 32486) terminated by calling exit
with status '0'
[Wed Jul 23 10:04:11 2008] [warn] FastCGI: (dynamic) server
"/var/www/fcgi-bin/mapserv.fcgi" has remained running for more than 30
seconds, its restart interval has been restored to 1 seconds

Best regards,
Bart



More information about the mapserver-dev mailing list