Ticket #4115 (closed defect: worksforme)
GDAL Raster files (dataset) are only closed in msCleanup
|Reported by:||aboudreault||Owned by:||aboudreault|
|Component:||MapServer C Library||Version:||unspecified|
The gdal dataset are never closed until msCleanup is called. All files remain open. We can easily checked this using lsof utility. We noticed the issue using python mapscript. We have a twisted web application using python mapscript and we can see that datasets are only closed if we kill the process. I would expect layer.close() to close the dataset as well... but it doesn't. The module probably only call msCleanup on exit.
I would say that FastCGI have the same problem... but I'm not sure yet.. have to test this.