[mapguide-trac] #528: Grey images from mapserver with GETMAPIMAGE
operation
MapGuide Open Source
trac_mapguide at osgeo.org
Wed Apr 2 03:42:51 EDT 2008
#528: Grey images from mapserver with GETMAPIMAGE operation
-----------------------+----------------------------------------------------
Reporter: trondat | Owner:
Type: defect | Status: new
Priority: medium | Milestone:
Component: Server | Version: 2.0.0
Severity: major | Keywords:
External_id: |
-----------------------+----------------------------------------------------
After some time of operation the mapserver returns blank grey ( RGB
237,237,237 ) images until the Maguide service is restarted. Also during
multiple request some of the layers are not drawn, missing from the image,
but those can be drawn on the next request.
The map template used consists of only static SDF layers no raster or
database layers.
This behavior can be reproduced using a web load generator simulating 2
users continously requesting maps for 2-6 hours. The users select from a
pool of different positions and scales.
When the serverer just returns grey images, the only way to get it working
again is to restart the Mapguide server service. I have also noticed that
when the mapguide server returns grey images the mgserver.exe consumes 900
MB of memory and are using around 800 handles. When the service is
restarted it consumes around 50 MB and are using around 500 handles.
Example of URL used :
{{{
http://127.0.0.1/mapguide/mapagent/mapagent.fcgi?OPERATION=GETMAPIMAGE&VERSION=1.0.0&SESSION=&MAPNAME=&LOCALE=en&MAPDEFINITION=Library://Map/MyMap.MapDefinition&FORMAT=PNG&SELECTION=&SETVIEWCENTERX=200597.800000&SETVIEWCENTERY=4780037.000000&SETVIEWSCALE=98380.905600&SETDISPLAYDPI=96&SETDISPLAYWIDTH=520&SETDISPLAYHEIGHT=400&SHOWLAYERS=&HIDELAYERS=&SHOWGROUPS=&HIDEGROUPS&USERNAME=Anonymous
}}}
Here is an entry from the error.log file :
<2008-03-31T14:13:21> Administrator
Error: Failed to stylize layer: land_layer
An exception occurred in FDO component.
SDF connect failed. File does not exist or cannot be opened in
specified access mode.
StackTrace:
- MgMappingUtil.StylizeLayers line 776 file
d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\mapping\MappingUtil.cpp
Failed to stylize layer: land_layer
An exception occurred in FDO component.
SDF connect failed. File does not exist or cannot be opened in specified
access mode.
I have tried both using mapagent.fcgi and isapi_mapagent.dll. They produce
the same behavior I supose those two are equal.
This bug is also seen MG 1.1 , but then the maps returned where black RGB
(0,0,0).
/Trond Tunheim, CellVision AS
--
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/528>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list