mapserver fastcgi and postgis cause memory leak?

Ehud Shabtai eshabtai at GMAIL.COM
Sun Sep 10 13:05:59 EDT 2006


Hi,

I'm using Mapserver 4.8.4 as a fastcgi server along with postgis layers.

Running a simple script which requests the same map over and over shows that
mapserver's memory (RSS) is increasing by about 1MB for every 5 requests.
Mapserver starts with about 10mb and keeps increasing - I got to 200mb and
killed it.

Exporting my postgis into a shape file and requesting a similar map, shows
no memory leaks so the leak is caused only when using postgis.

I'm using postgres 8.0 with postgis 1.1.2.
I've tried both with and without adding PROCESSING "CLOSE_CONNECTION=DEFER"
but in both cases I get the same leak.

Any ideas?

-- 
Ehud Shabtai
http://www.freemap.co.il/map/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060910/7d1977d1/attachment.html


More information about the mapserver-users mailing list