[DebianGIS-dev] Bug#466915: libgdal1-1.4.0: Leaves file handles open when used with php5-mapscript for GRASS vector maps

Harri Kiiskinen harkiisk at utu.fi
Thu Feb 21 20:10:06 UTC 2008


Package: libgdal1-1.4.0
Version: 1.4.4-1
Severity: normal

*** Please type your report below this line ***

I'm running a map application, that serves data from GRASS vector maps
with PHP5 and Mapserver. The 
connection type is OGR, and the maps work perfectly. However, each map 
produced leaves five (5) more file handles open:
One to:
/grass/location/mapset/vector/vectormap/coor
One to:
/grass/location/mapset/vector/vectormap/hist
And three to:
/usr/lib/grass/etc/ellipse.table

These handles are not reused while serving the next map based on these
files, but are left to accumulate. 
After a while the system starts to emit "Too many open files".
Restarting Apache frees the handles, so a 
regular restart is a remedy, but the behaviour is in any case not
correct. 

This might well have something to do with OGR.

Best Wishes,

Harri K.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.22 (SMP w/1 CPU core; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libgdal1-1.4.0 depends on:
ii  libc6                 2.7-6              GNU C Library: Shared
libraries
ii  libcurl3-gnutls       7.17.1-1+b1        Multi-protocol file
transfer libra
ii  libgcc1               1:4.3-20080116-1   GCC support library
ii  libgeos-c1            2.2.3-4            Geometry engine for
Geographic Inf
ii  libgeos2c2a           2.2.3-4            Geometry engine for
Geographic Inf
ii  libhdf4g              4.1r4-21           The Hierarchical Data
Format libra
ii  libhdf5-serial-1.6.5- 1.6.5-5+b1         Hierarchical Data Format 5
(HDF5) 
ii  libjasper1            1.900.1-3          The JasPer JPEG-2000
runtime libra
ii  libjpeg62             6b-14              The Independent JPEG
Group's JPEG 
ii  libkrb53              1.6.dfsg.3~beta1-2 MIT Kerberos runtime
libraries
ii  libmysqlclient15off   5.0.51-3           MySQL database client
library
ii  libnetcdf3            3.6.1-1            An interface for scientific
data a
ii  libogdi3.2            3.2.0~beta1-3      Open Geographic Datastore
Interfac
ii  libpng12-0            1.2.15~beta5-3     PNG library - runtime
ii  libpq5                8.3~rc2-1+b1       PostgreSQL C client library
ii  libsqlite3-0          3.4.2-2            SQLite 3 shared library
ii  libstdc++6            4.3-20080116-1     The GNU Standard C++
Library v3
ii  libtiff4              3.8.2-7            Tag Image File Format
(TIFF) libra
ii  libungif4g            4.1.6-3            library for GIF images
(transition
ii  libxerces27           2.7.0-5            validating XML parser
library for 
ii  odbcinst1debian1      2.2.11-16          Support library and helper
program
ii  unixodbc              2.2.11-16          ODBC tools libraries
ii  zlib1g                1:1.2.3.3.dfsg-11  compression library -
runtime

Versions of packages libgdal1-1.4.0 recommends:
ii  proj                          4.6.0-1    Cartographic projection
filter and

-- no debconf information







More information about the Pkg-grass-devel mailing list