You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@jakarta.apache.org by Fergus Gallagher <Fe...@OrbisUK.com> on 2000/03/06 10:36:52 UTC

MOD_JSERV - multiple open file handles

I dunno if this is the right place for this so apologies if not....

We have Tomcat (several versions) running with JDK 1.2.2_005 on Solaris
2.7 and have noticed that mod_jserv for AJP12 (downloaded Feb 22 2000
from http://jakarta.apache.org/) has lots of open file handles to the
same file (mod_jserv.log).   Each httpd process has a similar number.

This is curious - but is it ok?

Fergus

fgallagh$ ps -ef | grep httpd
    root   422     1  0   Feb 29 ?        0:04
/opt/apache_1.3.11/bin/httpd
  nobody 12065   422  0 16:51:39 ?        0:29
/opt/apache_1.3.11/bin/httpd
  nobody 12064   422  0 16:51:39 ?        0:30
/opt/apache_1.3.11/bin/httpd
  nobody 12063   422  0 16:51:39 ?        0:30
/opt/apache_1.3.11/bin/httpd
  nobody 12058   422  0 16:51:39 ?        0:31
/opt/apache_1.3.11/bin/httpd
  nobody 12062   422  0 16:51:39 ?        0:30
/opt/apache_1.3.11/bin/httpd
  nobody 12061   422  0 16:51:39 ?        0:30
/opt/apache_1.3.11/bin/httpd
  nobody 12059   422  0 16:51:39 ?        0:31
/opt/apache_1.3.11/bin/httpd
  nobody 12060   422  0 16:51:39 ?        0:30
/opt/apache_1.3.11/bin/httpd
  nobody 12066   422  0 16:51:39 ?        0:30
/opt/apache_1.3.11/bin/httpd
  nobody 12057   422  0 16:51:39 ?        0:30
/opt/apache_1.3.11/bin/httpd

fgallagh$ sudo lsof -p 12061 | grep log
libhttpd. 12061 nobody  txt   VREG          32,4    19584 213621
/opt/apache_1.3.11/libexec/mod_log_config.so
libhttpd. 12061 nobody    2w  VREG          32,4 16198276 263669
/opt/apache_1.3.11/logs/error_log
libhttpd. 12061 nobody    3w  VREG          32,4    11316 263721
/opt/apache_1.3.11/logs/mod_jserv.log
libhttpd. 12061 nobody    5w  VREG          32,4    11316 263721
/opt/apache_1.3.11/logs/mod_jserv.log
libhttpd. 12061 nobody    6w  VREG          32,4    11316 263721
/opt/apache_1.3.11/logs/mod_jserv.log
libhttpd. 12061 nobody    7w  VREG          32,4    11316 263721
/opt/apache_1.3.11/logs/mod_jserv.log
libhttpd. 12061 nobody    8w  VREG          32,4    11316 263721
/opt/apache_1.3.11/logs/mod_jserv.log
libhttpd. 12061 nobody    9w  VREG          32,4    11316 263721
/opt/apache_1.3.11/logs/mod_jserv.log
libhttpd. 12061 nobody   10w  VREG          32,4    11316 263721
/opt/apache_1.3.11/logs/mod_jserv.log
libhttpd. 12061 nobody   11w  VREG          32,4    11316 263721
/opt/apache_1.3.11/logs/mod_jserv.log
libhttpd. 12061 nobody   12w  VREG          32,4    11316 263721
/opt/apache_1.3.11/logs/mod_jserv.log
libhttpd. 12061 nobody   13w  VREG          32,4    11316 263721
/opt/apache_1.3.11/logs/mod_jserv.log
libhttpd. 12061 nobody   14w  VREG          32,4    11316 263721
/opt/apache_1.3.11/logs/mod_jserv.log
libhttpd. 12061 nobody   15w  VREG          32,4 16198276 263669
/opt/apache_1.3.11/logs/error_log
libhttpd. 12061 nobody   17w  VREG          32,4    11316 263721
/opt/apache_1.3.11/logs/mod_jserv.log
libhttpd. 12061 nobody   18w  VREG          32,4    11316 263721
/opt/apache_1.3.11/logs/mod_jserv.log
libhttpd. 12061 nobody   19w  VREG          32,4    11316 263721
/opt/apache_1.3.11/logs/mod_jserv.log
libhttpd. 12061 nobody   20w  VREG          32,4    11316 263721
/opt/apache_1.3.11/logs/mod_jserv.log
libhttpd. 12061 nobody   21w  VREG          32,4    11316 263721
/opt/apache_1.3.11/logs/mod_jserv.log
libhttpd. 12061 nobody   22w  VREG          32,4    11316 263721
/opt/apache_1.3.11/logs/mod_jserv.log
libhttpd. 12061 nobody   23w  VREG          32,4 52146291 263670
/opt/apache_1.3.11/logs/access_log

libexec$ ls -al mod_jserv.so 
-rw-r--r--   1 root     other     154656 Feb 22 16:48 mod_jserv.so

-- 
Fergus Gallagher          Tel: +44 (20) 8 987 0717
Orbis                     Fax: +44 (20) 8 742 2649
The Swan Centre           email: Fergus.Gallagher@orbisuk.com
Fishers Lane              Web: http://www.orbisuk.com
London W4 1RX / UK