[DebianGIS-dev] Bug#466914: php5-mapscript: Leaves file handles open
Harri Kiiskinen
harkiisk at utu.fi
Thu Feb 21 19:59:01 UTC 2008
Package: php5-mapscript
Version: 5.0.0-3
Severity: normal
I'm running a map application, that serves data from GRASS vector maps
with PHP5 and Mapserver. 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 just as well be a bug in the OGR library, part of libgdal,
instead of mapscript, but how am I to know?
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 php5-mapscript depends on:
ii debconf [debconf-2.0] 1.5.19 Debian configuration
management sy
ii libapache2-mod-php5 [ 5.2.5-2 server-side, HTML-embedded
scripti
ii libc6 2.7-6 GNU C Library: Shared
libraries
ii libcurl3-gnutls 7.17.1-1+b1 Multi-protocol file
transfer libra
ii libfreetype6 2.3.5-1+b1 FreeType 2 font engine,
shared lib
ii libgcc1 1:4.3-20080116-1 GCC support library
ii libgd2-xpm 2.0.36~rc1~dfsg-1 GD Graphics Library version
2
ii libgdal1-1.4.0 1.4.4-1 Geospatial Data Abstraction
Librar
ii libgeos-c1 2.2.3-4 Geometry engine for
Geographic Inf
ii libjpeg62 6b-14 The Independent JPEG
Group's JPEG
ii libkrb53 1.6.dfsg.3~beta1-2 MIT Kerberos runtime
libraries
ii libpng12-0 1.2.15~beta5-3 PNG library - runtime
ii libpq5 8.3~rc2-1+b1 PostgreSQL C client library
ii libstdc++6 4.3-20080116-1 The GNU Standard C++
Library v3
ii libx11-6 2:1.0.3-7 X11 client-side library
ii libxpm4 1:3.5.7-1 X11 pixmap library
ii php5-cli [phpapi-2006 5.2.5-2 command-line interpreter
for the p
ii proj 4.6.0-1 Cartographic projection
filter and
ii zlib1g 1:1.2.3.3.dfsg-11 compression library -
runtime
php5-mapscript recommends no packages.
-- debconf information:
* php5/extension_mapscript_apache: true
php5-mapscript/remove_extension: true
* php5/extension_mapscript_apache2: true
php5-mapscript/add_extension: true
More information about the Pkg-grass-devel
mailing list