Urgent: nagios + apan memory chewing up

ali alikhalidi at excite.com
Sat Aug 16 09:30:20 CEST 2003


 Thanks for the reply, and I realy appriciate your input.I have my nagios installed from an RPM, version 1.1I've read somewhere in the posts about this recommendation (compile without embedded per and perl cache), but after I've checed the RPM spec built file, it seems that the person who built the RPM has disabled these two options for RedHat 8 and 9. so I am running a version with these two options off (any other suggestions), but I might have mis-read the sepc file!.So you're telling me that nagios (v 1.1) has this core problem, even without Embeded Perl and Perl Cache, or is it this factor that you eleminated to get around the problem, please clearify the issue pertaining to the nagios plugings (especially check_snmp)?Has the disabling of these two options solved the problem completely in your case (because if so, I can drop the RPMS and go for source)?thanks,--- On Thu 08/14, Chet Luther < chet at rcn.com > wrote:
From: Chet Luther [mailto: chet at rcn.com]To: alikhalidi at excite.com, nagios-users at lists.sourceforge.netCc: marcioqueiroz at vicom.com.brDate: Thu, 14 Aug 2003 11:00:13 -0400Subject: Re: [Nagios-users] Urgent: nagios + apan memory chewing upAli,Recompile Nagios without embedded perl or perl caching support. I hadthis same problem, and it was due to global namespace pollution in theembedded perl cache. The real solution to this problem would be rewritingall the perl plugins/extensions in a mod_perl safe way, but I don't see anyinitiative to get that done.Hope this helps,Chet Lutherchet at rcn.com----- Original Message ----- From: aliTo: nagios-users at lists.sourceforge.netSent: Thursday, August 14, 2003 5:40 AMSubject: [Nagios-users] Urgent: nagios + apan memory chewing upGreetings,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 sta
 ble.not untill I've installed apan (155 services) that the server starts chewingmemory so fast that the system becomes cloged and the only way to regaincontrol for the system is to REBOOT.I've read and practiced a lot with the tunning paramers of nagios, andreached a level where these parametersmax_concurrent_checks (for concurrency)service_reaper_freqsize 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) todisable the loading of the mib with each callbut all with no help. I can't put my hands on the problem.the system startsmemory usage in almost a linear fashion, untill the free section ofbuffers/cache starts comming down, and the systems goes to swap till itexhast 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 helpthanks,

_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20030816/d0c39d7f/attachment.html>


More information about the Users mailing list