Nagios 2 quitting

Ethan Galstad nagios at nagios.org
Wed Aug 11 03:25:30 CEST 2004


On 11 Aug 2004 at 6:43, Ian Holsman wrote:

> do a search for RLIMIT_CORE in utils.c and delete the setrlimit call.
> then in the shell before you call nagios do ulimit -c unlimited
> 
> this should let nagios actually dump core and then you can see what is
> causing it.
> 
> --Ian
> 
> hey Ethan.. what is the logic behind disabling cores in the code like
> this instead of using ulimit?
> 
[snip]

I think Karl actually submitted the initial patch to do this.  I 
believe the reasoning behind it is that daemons are not supposed to 
dump core when they bail.  Its not a big deal, as most bugs can be 
caught when you run Nagios as a foreground process - this allows a 
core file to be created.

Ethan Galstad,
Nagios Developer
---
Email: nagios at nagios.org
Website: http://www.nagios.org



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285




More information about the Developers mailing list