Urgent: nagios + apan memory chewing up

Chet Luther chet at rcn.com
Thu Aug 14 17:00:13 CEST 2003


Ali,
    Recompile Nagios without embedded perl or perl caching support.  I had
this same problem, and it was due to global namespace pollution in the
embedded perl cache.  The real solution to this problem would be rewriting
all the perl plugins/extensions in a mod_perl safe way, but I don't see any
initiative to get that done.

Hope this helps,

Chet Luther
chet at rcn.com

----- Original Message ----- 
From: ali
To: nagios-users at lists.sourceforge.net
Sent: Thursday, August 14, 2003 5:40 AM
Subject: [Nagios-users] Urgent: nagios + apan memory chewing up

Greetings,

I am experiencing a strange behaiviour for nagios and apan.
I'de run nagios for a long time, using the standard plugins
(check_host_alive for 50 services), and my system
(CPU 1GHz, RAM 512, swap 512) was very stable.
not untill I've installed apan (155 services) that the server starts chewing
memory so fast that the system becomes cloged and the only way to regain
control for the system is to REBOOT.
I've read and practiced a lot with the tunning paramers of nagios, and
reached a level where these parameters
max_concurrent_checks (for concurrency)
service_reaper_freq
size of rrd files (to prevent caching of large databse files)
added the -m to snmp_get (based on a recommendation of one of the users) to
disable the loading of the mib with each call

but all with no help. I can't put my hands on the problem.the system starts
memory usage in almost a linear fashion, untill the free section of
buffers/cache starts comming down, and the systems goes to swap till it
exhast all system Memory.
it is only the difference between the concurrency factor
(max_concurrent_checks) that slows down the rate at which memory is lost.

its a production system, and I really appriciate help

thanks,



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list