[mapserver-users] mapserver defunct
Stephen Woodbridge
woodbri at swoodbridge.com
Tue Jan 11 10:05:23 PST 2011
Here is an explanation of defunct processes:
http://www.webmasterworld.com/forum40/1032.htm
I'm sure there are others. So since you are running fastcgi, it is the
responsibility of the fastcgi parent process to clean up dead child
processes. It is likely that it is busy because you are doing load
testing or there is some subtle issue that is occurring. If you are
getting good responses from mapserver, you probably do not need to worry
about it unless you are getting tons of them.
If you are using apache, I believe there is a parameter that you can set
for fastcgi processes which will let them die after N requests. This
should clean those up and apache will spawn a new process if needed to
replace the that died.
-Steve W
On 1/11/2011 10:04 AM, Wim Vanbelle wrote:
> Hi all,
>
> I'm getting a lot of
>
> 27098 x 20 0 0 0 0 Z 1 0.0 0:00.03 mapserv <defunct>
> 27104 x 20 0 0 0 0 Z 1 0.0 0:00.03 mapserv <defunct>
>
> while load testing mapserver. Is there any way I can go about checking
> out why this is happening? Especially when doing concurrency tests it
> seems to go sideways.
>
> Currently i'm using :
>
> MapServer version 5.6.5 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
> OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE
> SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT
> SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER
> SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS
> SUPPORTS=RGBA_PNG INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL
> INPUT=SHAPEFILE
>
> using FastCGI/Lighty.
>
> Do note that the mapfile itself seems to be fine, since it does render
> content when i'm the single user using it.
>
> Thanks for your expert insight :D.
>
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list