BUG: nagios3 not closing filehandles for checkresult spoolfiles

Ethan Galstad nagios at nagios.org
Sun Apr 13 22:55:17 CEST 2008


Alessandro Ren wrote:
>     I have a similiar problems with nagios 3 and 3rc3, could not locate 
> yet why this happens.
> 
>     []s.
> 
> Christoph Maser wrote:
>> Hi list
>>
>> we are testing nagios3 and since the release of the final version we
>> encountered a massive problem. Once a day nagios stops working
>> correctly. Log file ist full of:
>>
>> -----
>> [$timesatmp] Warning: The check of service '$SERVICE' on host '$HOST'
>> could not be performed due to a fork() error.  The check will be
>> rescheduled.
>> -----
>>
>>
>> After a restart of nagios everything works fine again. I have checked
>> the checkresult-spool-dir and found tons of _old_ files. When the
>> problem occurs nagios has open 1024 FHs most of them (> 1000) for
>> checkresult files. Of course 1024 is the open files limit for my nagios
>> user.
>>
>> This problem occurs every day and it started exactly with the install of
>> 3.0 final. We where running 3.0rc3 before and did not have any problems.
>>
>> When i look at the process from time to time i do not see a list of FHs
>> building up slowly so i assume that there is some "event" which is
>> trigging this malfunction.
>>
>>
>> Chris
>>

Is anyone else encountering this error?  I'm not seeing anything obvious
in the diffs that would have caused this problem post 3.0rc3.


Ethan Galstad
Nagios Developer
___
Email: nagios at nagios.org
Web:   www.nagios.org

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone




More information about the Developers mailing list