Re: [Nagios-devel] Nagios 2 quitting

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] Nagios 2 quitting

Post by Guest »

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: [email protected]
Website: http://www.nagios.org






This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked