Re: [Nagios-devel] Nagios 3.0 hanging (10/22 CVS)

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 3.0 hanging (10/22 CVS)

Post by Guest »

>> I tried the latest CVS yesterday and started a strace from the very
>> beginning. It took less then 5 hours for it to stop processing checks.
>> I've uploaded the compressed strace for anyone that is interested. It is
>> about 5Mb in size. You might be able to get more information out of it
>> if
>> you can see what leads up to the issue.
>>
>
> The first ENOMEM appears 13:32:39. The first fd leak seems to appear
> 13:32:41.
> It seems my first conclusion was in error. The ENOMEM's aren't the result
> of
> fd leaks; It's the other way around. Or rather, they're separate bugs, but
> Nagios does something wrong in the ENOMEM path of fork().
>
> Valgrind should be able to give a few hints. If you've got time to run
> Nagios
> under it on your system, it would most likely be very valuable.

Not sure how to do this but I've got the time and willingness to learn.
Just point me at some documentation and I'll plug away at it. I've done a
little googling and have run the program with this for tonight:

valgrind --leak-check=yes --time-stamp=yes --log-file=/tmp/trace/nagios-valgrind
nagios /etc/nagios/nagios.cfg

I'll make the results available tomorrow. If you would like other options
please let me know which ones.

-Shad






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