mapscript draw method is buggy on SDE layer

Ivano Picco ivano.picco at AQUPI.TK
Wed May 23 09:39:08 PDT 2007


Hi,
wrt my previous messages ( 
http://lists.umn.edu/cgi-bin/wa?A2=ind0705&L=mapserver-users&D=1&T=0&O=D&P=25025 ) 
I tried to replace mapserv with a simple mapscript (see attachment).
After  a stress test (ArcSDE layer, 6 user, 10 connections at the same time, 5 minutes long, 
lighttpd as webserver) 18 cgis still remain in memory (643 total connections). My script 
saves  the steps of execution on log files, so I can keep a track. 
This is what i found on a log file of a "zombie":
PID:17932
Start:2007-05-2317:05:20
Creazione mappa:2007-05-2317:05:20
Reperimento layer:2007-05-2317:05:20
Preparazione Immagine:2007-05-2317:05:20
Disegno:

As you can see the process hangs on $layer->draw($map, $img);.
My tests with Oracle Spatial and OGR finished without any cgi process, like other made with 
mapserv.
I hope this can be useful to found and solve this problem,
thanks,
Ivano Picco
-------------- next part --------------
A non-text attachment was scrubbed...
Name: my_mapserv_wms.pl
Type: application/x-perl
Size: 1993 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20070523/66e4b127/attachment.bin>


More information about the MapServer-users mailing list