<table cellpadding=3 cellspacing=0 border=0 width=100% bgcolor=white><tr valign=top><td width=100%><font size=2 color=black><BR>Thanks for the reply, and I realy appriciate your input.<BR>I have my nagios installed from an RPM, version 1.1<BR>I'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!.<BR><BR>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)?<BR>Has the disabling of these two options solved the problem completely in your case (because if so, I can drop t
he RPMS and go for source)?<BR><BR>thanks,<BR><BR><BR><BR><BR><BR>--- On Thu 08/14, Chet Luther < chet@rcn.com > wrote:<BR>
<BLOCKQUOTE style="PADDING-LEFT: 7px; MARGIN-LEFT: 7px; BORDER-LEFT: orange 2px solid"><B>From: </B>Chet Luther [mailto: chet@rcn.com]<BR><B>To: </B>alikhalidi@excite.com, nagios-users@lists.sourceforge.net<BR><B>Cc: </B>marcioqueiroz@vicom.com.br<BR><B>Date: </B>Thu, 14 Aug 2003 11:00:13 -0400<BR><B>Subject: </B>Re: [Nagios-users] Urgent: nagios + apan memory chewing up<BR><BR>Ali,<BR>Recompile Nagios without embedded perl or perl caching support. I had<BR>this same problem, and it was due to global namespace pollution in the<BR>embedded perl cache. The real solution to this problem would be rewriting<BR>all the perl plugins/extensions in a mod_perl safe way, but I don't see any<BR>initiative to get that done.<BR><BR>Hope this helps,<BR><BR>Chet Luther<BR>chet@rcn.com<BR><BR>----- Original Message ----- <BR>From: ali<BR>To: nagios-users@lists.sourceforge.net<BR>Sent: Thursday, August 14, 2003 5:40 AM<BR>Subject: [Nagios-users] Urgent: nagios + apan memory chewing up<BR><BR>G
reetings,<BR><BR>I am experiencing a strange behaiviour for nagios and apan.<BR>I'de run nagios for a long time, using the standard plugins<BR>(check_host_alive for 50 services), and my system<BR>(CPU 1GHz, RAM 512, swap 512) was very stable.<BR>not untill I've installed apan (155 services) that the server starts chewing<BR>memory so fast that the system becomes cloged and the only way to regain<BR>control for the system is to REBOOT.<BR>I've read and practiced a lot with the tunning paramers of nagios, and<BR>reached a level where these parameters<BR>max_concurrent_checks (for concurrency)<BR>service_reaper_freq<BR>size of rrd files (to prevent caching of large databse files)<BR>added the -m to snmp_get (based on a recommendation of one of the users) to<BR>disable the loading of the mib with each call<BR><BR>but all with no help. I can't put my hands on the problem.the system starts<BR>memory usage in almost a linear fashion, untill the free section of<BR>buffers/cache sta
rts comming down, and the systems goes to swap till it<BR>exhast all system Memory.<BR>it is only the difference between the concurrency factor<BR>(max_concurrent_checks) that slows down the rate at which memory is lost.<BR><BR>its a production system, and I really appriciate help<BR><BR>thanks,<BR><BR></BLOCKQUOTE><br></font></td></tr></table><p><hr><font size=2 face=geneva><b>Join Excite! - <a href=http://www.excite.com target=_blank>http://www.excite.com</a></b><br>The most personalized portal on the Web!</font>