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

Joerg Linge pitchfork at ederdrom.de
Thu Dec 21 19:07:41 CET 2006


Am Donnerstag, 21. Dezember 2006 17:56 schrieb Ethan Galstad:
> Good work on nailing down the problem to the command buffer slots!
> Sounds like this problem might affect a number of users, so I think we
> need to patch Nagios. There are two possible solutions:
>
> 1.  Bump up the default buffer slots to something larger.  Since Nagios
> only immediately allocates memory for pointers, the additional memory
> overhead is fairly small.  Allocated memory = (sizeof(char **)) * (# of
> slots).
>
> 2.  Moving the slots definitions out to command file variables.  This is
> a better solution than having to edit the code and recompile.

Yes, make variables for the bufferslots.

Can you please adapt nagiostat to provide the current and max Buffer Slots ?

Jörg 

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