[mapserver-users] mod_fcgid: can't apply process slot for /usr/lib/cgi-bin/mapserv.fcgi

Poupart Erwann Erwann.Poupart at cnes.fr
Sun Sep 16 22:32:55 PDT 2018


Hi all,

Did anybody see this error message (see details below) trying to start mapserver with apache2 ?

I have successfully built mapserver docker image using URL https://github.com/mapserver/mapserver.git

I got mapserver 7.3-dev, shall I point to another more stable release ?

Do you have any information describing how to configure mapserver using fastcgi on apache to provide good performance for mapserver requests ?

Best regards,

Erwann.

root at 9387ca67f455:/var/www/html# wget "http://localhost:80/mapserv?map=WMS_S1_ORTHO&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities"
--2018-09-14 12:51:57--  http://localhost/mapserv?map=WMS_S1_ORTHO&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities
Resolving localhost (localhost)... 127.0.0.1, ::1
Connecting to localhost (localhost)|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 503 Service Unavailable
2018-09-14 12:53:00 ERROR 503: Service Unavailable.

root at 9387ca67f455:/var/www/html# cd /var/log/apache2/
root at 9387ca67f455:/var/log/apache2# cat error.log
[Fri Sep 14 12:45:54.403288 2018] [:debug] [pid 9:tid 140006272603328] mod_mapcache.c(316): creating a child process mapcache connection pool on server 172.27.0.2 for alias /mapcache
[Fri Sep 14 12:45:54.404128 2018] [:debug] [pid 10:tid 140006272603328] mod_mapcache.c(316): creating a child process mapcache connection pool on server 172.27.0.2 for alias /mapcache
[Fri Sep 14 12:51:57.095671 2018] [:debug] [pid 9:tid 140005934626560] mod_mapcache.c(448): [client 127.0.0.1:36524] mapcache quick handler hook on uri /mapserv
[Fri Sep 14 12:51:57.096511 2018] [authz_core:debug] [pid 9:tid 140005934626560] mod_authz_core.c(809): [client 127.0.0.1:36524] AH01626: authorization result of Require all granted: granted
[Fri Sep 14 12:51:57.096543 2018] [authz_core:debug] [pid 9:tid 140005934626560] mod_authz_core.c(809): [client 127.0.0.1:36524] AH01626: authorization result of <RequireAny>: granted
[Fri Sep 14 12:53:00.186071 2018] [fcgid:warn] [pid 9:tid 140005934626560] [client 127.0.0.1:36524] mod_fcgid: can't apply process slot for /usr/lib/cgi-bin/mapserv.fcgi

mapserv -v
MapServer version 7.3-dev OUTPUT=PNG OUTPUT=JPEG OUTPUT=KML SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO SUPPORTS=ICONV SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=FASTCGI SUPPORTS=GEOS INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE

root at 9387ca67f455:/var/log/apache2# apache2 -v
Server version: Apache/2.4.25 (Debian)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20180917/ea0b41e4/attachment.html>


More information about the mapserver-users mailing list