[mapserver-dev] Possible FCGI bug in 6.0 and SVN

Mark Deneen mdeneen at gmail.com
Fri Jun 24 16:14:51 EDT 2011


My mapserver is built as follows:

MapServer version 6.1-dev OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG
SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=OPENGL SUPPORTS=FREETYPE
SUPPORTS=ICONV SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT
SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER
SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS INPUT=POSTGIS
INPUT=ORACLESPATIAL INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE

Host is ubuntu-server 10.04 x64.


I launch mapserv with spawn-fcgi as follows:

spawn-fcgi -n -F 4 -p 9000 -u gato -g gato /home/gato/svn/mapserver/mapserv

and nginx is configured to proxy fcgi to localhost:9000

When I make a request, such as this:

http://10.5.1.186/cgi-bin/mapserv?map=/tiles/navteqExtract/test.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=oceanbackground&STYLES=&SRS=EPSG:4326&BBOX=-76.37285883566015,39.99526398685001,-74.2167901729858,41.32047682423241&WIDTH=1920&HEIGHT=1024&FORMAT=PNG

I get the following in my debug log file (I added debug to
msGetOutputFormatOption to print the number of format options):

Before FCGI_Accept()

[Fri Jun 24 15:40:27 2011].424473 stdebug: General error message.
formatoption count = 2
[Fri Jun 24 15:40:27 2011].424541 stdebug: General error message.
formatoption = PALETTE_FORCE=on
[Fri Jun 24 15:40:27 2011].424552 stdebug: General error message.
formatoption = PALETTE=/tiles/palette.txt
[Fri Jun 24 15:40:27 2011].430549 stdebug: General error message.
formatoption count = 2
[Fri Jun 24 15:40:27 2011].430562 stdebug: General error message.
formatoption = PALETTE_FORCE=on
[Fri Jun 24 15:40:27 2011].430571 stdebug: General error message.
formatoption = PALETTE=/tiles/palette.txt
[Fri Jun 24 15:40:27 2011].430578 stdebug: General error message.
formatoption count = 2
[Fri Jun 24 15:40:27 2011].430586 stdebug: General error message.
formatoption = PALETTE_FORCE=on
[Fri Jun 24 15:40:27 2011].430592 stdebug: General error message.
formatoption = PALETTE=/tiles/palette.txt
[Fri Jun 24 15:40:27 2011].430600 stdebug: General error message.
formatoption count = 2
[Fri Jun 24 15:40:27 2011].430606 stdebug: General error message.
formatoption = PALETTE_FORCE=on
[Fri Jun 24 15:40:27 2011].430614 stdebug: General error message.
formatoption = PALETTE=/tiles/palette.txt
[Fri Jun 24 15:40:27 2011].430626 stdebug: General error message.
formatoption count = 2
[Fri Jun 24 15:40:27 2011].430635 stdebug: General error message.
formatoption = PALETTE_FORCE=on
[Fri Jun 24 15:40:27 2011].430641 stdebug: General error message.
formatoption = PALETTE=/tiles/palette.txt

After FCGI_Accept()

[Fri Jun 24 15:40:27 2011].430990 CGI Request 1 on process 12742
[Fri Jun 24 15:40:27 2011].431099 stdebug: General error message.
formatoption count = 0
[Fri Jun 24 15:40:27 2011].431119 stdebug: General error message.
formatoption count = 0
[Fri Jun 24 15:40:27 2011].431129 stdebug: General error message.
formatoption count = 0
[Fri Jun 24 15:40:27 2011].431135 stdebug: General error message.
formatoption count = 0

Any ideas?  I'm not losing all of my mapfile -- all of the layers are
there.  I am, however, losing everything in OUTPUTFORMAT.

Best Regards,
Mark Deneen


More information about the mapserver-dev mailing list