nagios-cvs: Too many open files?

Marc Powell marc at ena.com
Wed Feb 7 18:25:26 CET 2007



> -----Original Message-----
> From: nagios-devel-bounces at lists.sourceforge.net [mailto:nagios-devel-
> bounces at lists.sourceforge.net] On Behalf Of Ethan Galstad
> Sent: Wednesday, February 07, 2007 10:27 AM
> To: Nagios Developers List
> Subject: Re: [Nagios-devel] nagios-cvs: Too many open files?
> 
> Marc Powell wrote:
> >
> >> -----Original Message-----
> >> From: nagios-devel-bounces at lists.sourceforge.net
[mailto:nagios-devel-
> >> bounces at lists.sourceforge.net] On Behalf Of Gerd Mueller
> >> Sent: Wednesday, February 07, 2007 9:40 AM
> >> To: Nagios Developers List
> >> Subject: [Nagios-devel] nagios-cvs: Too many open files?
> >>
> >> Hi,
> >>
> >> my systems are sometimes running out of open file handles. Is this
> >> normal for a normal nagios process:
> >>
> >> nag01:~# lsof | grep "/tmp/nagios" | wc -l 41631
> >
> > I would say no, since nagios doesn't usually open files in /tmp.
> >
> > [root at dc1 root]# lsof | grep "/tmp/nagios"
> > [root at dc1 root]#
> >
> > Is that the location of temp_file in nagios.cfg? Is the command
shown in
> > lsof for those processes nagios or some plugin? I suspect that it's
> > going to be some misbehaving plugin that you're using.
> >
> 
> Actually, Nagios has a new temp_path option that defines a directory
> where Nagios will create temp files.  Host and service checks in
Nagios
> 3 write their output to temp files - that's how the plugin output
length
> restriction was done away with.

Ah, yes, I remember reading that now. Thanks for the clarification.

--
Marc 

-------------------------------------------------------------------------
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