nagios-cvs: Too many open files?

Gerd Mueller gmueller at netways.de
Wed Feb 7 17:53:32 CET 2007


> Gerd, the number of temp files is extremely high.  How many Nagios 
> (child) processes are running when you check the count of temp files? 
> Something seems to be amiss.  Either that or you're monitoring a ton of 
> services.18837 pts/0    S+     0:00 grep ssh

Hm, a lot of them are are critical/down.
 

nag01:/root# lsof | grep "/tmp/nagios" | wc -l
766


nag01:/root# lsof | grep "/tmp/nagios" | wc -l
774


nag01:/root# ps ax | grep /usr/local/nagios/bin/nagios
 4548 ?        Rsl    0:13 /usr/local/nagios/bin/nagios
-d /usr/local/nagios/etc/nagios.cfg
18133 ?        S      0:00 /usr/local/nagios/bin/nagios
-d /usr/local/nagios/etc/nagios.cfg
19028 ?        S      0:00 /usr/local/nagios/bin/nagios
-d /usr/local/nagios/etc/nagios.cfg
19248 ?        S      0:00 /usr/local/nagios/bin/nagios
-d /usr/local/nagios/etc/nagios.cfg
19760 pts/0    S+     0:00 grep /usr/local/nagios/bin/nagios


nag01:/root# ps ax | grep /usr/local/nagios/bin/nagios -c
6

nag01:/root# lsof | grep "/tmp/nagios" | wc -l
5737
nag01:/root# ps ax | grep libexc -c
1


Gerd

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642




More information about the Developers mailing list