Problems with many hanging Nagios processes (Nagios spawning rogue nagios processes eventually crashing Nagios server)

Percy Jahn jahn at fg-networking.de
Tue Apr 10 13:21:10 CEST 2007


Gaspar, Carson schrieb:
> Mahesh Kunjal wrote:
>   
>> This was not enough and the child process started to wait for memory
>>     
> to be freed so that the pipe data retrieved can be put in buffer.
>   
>> While this child process waited for memory to be freed, the command
>>     
> worker thread got woken up and realized that there is data in pipe and
> forked another child. This got repeated and eventually server went out
> of memory.
>
> This is a bug. A second reader should not be created if a prior reader
> still exists. Locking is required here.
>   
This is a large bug concerning all mayor installations of nagios.
We've located this bug too and are now working on a solution. We like to 
solve this problem, by spawning a thread doing the job of the problem 
causing processes. I hope a working patch will be available soon.

Best regards
Percy Jahn

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV




More information about the Developers mailing list