file system growing with open files

Agneta Schick schick at SDAC.HANNOVER.BGR.DE
Fri Feb 25 04:52:42 EST 2005


Hello,

We have a system problem on a machine with a mapserver application: "too many
open files"
A list of open files shows it is always the same file: the source file for a
reference map (.png) which is in read mode and never closed.
This could be a version problem because we have a similar application on
another machine with no such problems.

We run
MapServer version 4.2.3 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=PROJ
SUPPORTS=FREETYPE INPUT=TIFF INPUT=EPPL7 INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
 with mapscript
 perl 5.8.3
 mod_perl-1.29
 apache_1.3.27
 on Solaris 9.

We have set rlim_fd_cur=1024 and rlim_fd_max=4096 to no avail.


On the machine without this problem we run
MapServer version 3.6.5 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=PROJ
SUPPORTS=TTF INPUT=TIFF INPUT=EPPL7 INPUT=JPEG INPUT=OGR INPUT=GDAL
INPUT=SHAPEFILE
 with mapscript
 perl 5.6.1
 mod_perl-1.27
 apache_1.3.22
 on Solaris 8.

Any hints are appreciated!

Thanks in advance,
Agneta Schick

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Agneta Schick

    Bundesanstalt fuer Geowissenschaften und Rohstoffe
    Federal Institute for Geosciences and Natural Resources
    Stilleweg 2
    D- 30655 Hannover                   Tel.: +49 511 643 3136
    GERMANY                             FAX.: +49 511 643 3663

    schick at sdac.hannover.bgr.de         http://www.seismologie.bgr.de
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



More information about the mapserver-users mailing list