[mapserver-users] Too Many Open Files
aseem
aseembatish at gmail.com
Wed Aug 12 06:30:52 PDT 2009
Thanks Daniel. Thanks for the reply. Yes, We are using MapScript. I have
checked the open files by executing lsof command. I found that most of the
files are related to FGS. Following is the part of the output we got after
running lsof command.
httpd 23793 apache DEL REG 0,8
5304375 /dev/zero
httpd 23793 apache mem REG 147,1 67584
2949497 /data/fgs/www/logs/jk-runtime-status
httpd 23793 apache mem REG 147,1 478913
2949206 /data/fgs/www/modules/mod_jk.so
httpd 23793 apache mem REG 147,1 238336
2998379 /data/fgs/lib/libpng12.so.0.1.2.8
httpd 23793 apache mem REG 147,1 1116483
2998285 /data/fgs/lib/libiconv.so.2.2.0
httpd 23793 apache mem REG 147,1 2921477
2998415 /data/fgs/lib/libxml2.so.2.6.19
httpd 23793 apache mem REG 147,1 126672
2998332 /data/fgs/lib/libjpeg.so.62.0.0
httpd 23793 apache mem REG 147,1 238336
2998279 /data/fgs/lib/libpng.so.3.1.2.8
httpd 23793 apache mem REG 147,1 449524
2998348 /data/fgs/lib/libfreetype.so.6.3.16
httpd 23793 apache mem REG 147,1 242996
2998297 /data/fgs/lib/libgd.so.2.0.0
httpd 23793 apache mem REG 147,1 909044
2998398 /data/fgs/lib/libstdc++.so.6.0.8
httpd 23793 apache mem REG 147,1 4560732
2949501 /data/fgs/www/libexec/libphp5.so
httpd 23793 apache mem REG 8,17 27836
2717861 /lib/libcrypt-2.5.so
httpd 23793 apache mem REG 147,1 146660
2949194 /data/fgs/www/lib/libapr-1.so.0.2.12
httpd 23793 apache mem REG 147,1 111948
2949172 /data/fgs/www/lib/libexpat.so.0.1.0
httpd 23793 apache mem REG 147,1 87908
2949197 /data/fgs/www/lib/libaprutil-1.so.0.2.12
httpd 23793 apache mem REG 8,17 46740
2717128 /lib/libnss_files-2.5.so
httpd 23793 apache mem REG 147,1 41096
2998325 /data/fgs/lib/libgcc_s.so.1
httpd 23793 apache mem REG 147,1 79184
2998333 /data/fgs/lib/libz.so.1.2.3
httpd 23793 apache 0r CHR 1,3
1895 /dev/null
httpd 23793 apache 1w CHR 1,3
1895 /dev/null
httpd 23793 apache 2w REG 147,1 34909
2949498 /data/fgs/www/logs/error_log
httpd 23793 apache 3u IPv6 5304241
TCP *:pichat (LISTEN)
httpd 23793 apache 4u sock 0,5
5304242 can't identify protocol
httpd 23793 apache 5r FIFO 0,6
5304372 pipe
httpd 23793 apache 6w FIFO 0,6
5304372 pipe
httpd 23793 apache 7w REG 147,1 2953030
2949499 /data/fgs/www/logs/access_log
httpd 23793 apache 8w REG 147,1 1452012
2949495 /data/fgs/www/logs/mod_jk.log
httpd 23793 apache 9u REG 147,1 67584
2949497 /data/fgs/www/logs/jk-runtime-status
httpd 23793 apache 10u REG 147,1 1
2949496 /data/fgs/www/logs/jk-runtime-status.lock
httpd 23793 apache 11r 0000 0,10 0
6750301 eventpoll
httpd 23793 apache 12u sock 0,5
6750302 can't identify protocol
httpd 23793 apache 13u IPv4 6750305
TCP localhost.localdomain:46025->localhost.localdomain:8009 (ESTABLISHED)
httpd 23794 apache cwd DIR 8,17 4096
2 /
httpd 23794 apache rtd DIR 8,17 4096
2 /
httpd 23794 apache txt REG 147,1 655824
2949473 /data/fgs/www/bin/httpd
httpd 23794 apache mem REG 8,17 125728
2718127 /lib/ld-2.5.so
httpd 23794 apache mem REG 8,17 1585788
2717105 /lib/libc-2.5.so
httpd 23794 apache mem REG 8,17 208344
2717112 /lib/libm-2.5.so
httpd 23794 apache mem REG 8,17 16528
2717120 /lib/libdl-2.5.so
httpd 23794 apache mem REG 8,17 125668
2717167 /lib/libpthread-2.5.so
httpd 23794 apache mem REG 8,17 101504
2717213 /lib/libnsl-2.5.so
httpd 23794 apache mem REG 8,17 76396
2717177 /lib/libresolv-2.5.so
httpd 23794 apache mem REG 8,17 44088
2717090 /lib/librt-2.5.so
httpd 23794 apache mem REG 8,17 56464208
5405420 /usr/lib/locale/locale-archive
httpd 23794 apache DEL REG 0,8
5304375 /dev/zero
httpd 23794 apache mem REG 147,1 67584
2949497 /data/fgs/www/logs/jk-runtime-status
httpd 23794 apache mem REG 147,1 478913
2949206 /data/fgs/www/modules/mod_jk.so
httpd 23794 apache mem REG 147,1 238336
2998379 /data/fgs/lib/libpng12.so.0.1.2.8
httpd 23794 apache mem REG 147,1 1116483
2998285 /data/fgs/lib/libiconv.so.2.2.0
httpd 23794 apache mem REG 147,1 2921477
2998415 /data/fgs/lib/libxml2.so.2.6.19
httpd 23794 apache mem REG 147,1 126672
2998332 /data/fgs/lib/libjpeg.so.62.0.0
httpd 23794 apache mem REG 147,1 238336
2998279 /data/fgs/lib/libpng.so.3.1.2.8
httpd 23794 apache mem REG 147,1 449524
2998348 /data/fgs/lib/libfreetype.so.6.3.16
httpd 23794 apache mem REG 147,1 242996
2998297 /data/fgs/lib/libgd.so.2.0.0
httpd 23794 apache mem REG 147,1 909044
2998398 /data/fgs/lib/libstdc++.so.6.0.8
httpd 23794 apache mem REG 147,1 4560732
2949501 /data/fgs/www/libexec/libphp5.so
httpd 23794 apache mem REG 8,17 27836
2717861 /lib/libcrypt-2.5.so
httpd 23794 apache mem REG 147,1 146660
2949194 /data/fgs/www/lib/libapr-1.so.0.2.12
httpd 23794 apache mem REG 147,1 111948
2949172 /data/fgs/www/lib/libexpat.so.0.1.0
httpd 23794 apache mem REG 147,1 87908
2949197 /data/fgs/www/lib/libaprutil-1.so.0.2.12
httpd 23794 apache mem REG 8,17 46740
2717128 /lib/libnss_files-2.5.so
httpd 23794 apache mem REG 147,1 41096
2998325 /data/fgs/lib/libgcc_s.so.1
httpd 23794 apache mem REG 147,1 79184
2998333 /data/fgs/lib/libz.so.1.2.3
httpd 23794 apache 0r CHR 1,3
1895 /dev/null
httpd 23794 apache 1w CHR 1,3
1895 /dev/null
httpd 23794 apache 2w REG 147,1 34909
2949498 /data/fgs/www/logs/error_log
Daniel Morissette wrote:
>
> aseem wrote:
>> Dear All,
>>
>> We are using UMN Map server(FGS) with integration to apache tomcat server
>> through MOD.JK Connector. Whenever we are running our application our web
>> application hangs up. we found that there are so many open files of FGS
>> server on our linux server. It seems that our web application hangs up
>> due
>> to these open files. Our application works fine for only20-30 mins.
>>
>
> Are you using the mapserv CGI or MapScript? Perhaps you could start by
> using "lsof" to figure which files are left open. That could give you an
> idea of the source of the problem.
>
> Daniel
> --
> Daniel Morissette
> http://www.mapgears.com/
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
--
View this message in context: http://n2.nabble.com/Too-Many-Open-Files-tp3429559p3430711.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
More information about the MapServer-users
mailing list