Ticket #4115 (closed defect: worksforme)
GDAL Raster files (dataset) are only closed in msCleanup
| Reported by: | aboudreault | Owned by: | aboudreault |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.0.2 release |
| Component: | MapServer C Library | Version: | unspecified |
| Severity: | normal | Keywords: | |
| Cc: | warmerdam, rouault |
Description
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.
Change History
Note: See
TracTickets for help on using
tickets.
