<table cellpadding=3 cellspacing=0 border=0 width=100% bgcolor=white><tr valign=top><td width=100%><font size=2 color=black>sorry for taking too long to answer.<br>I have a bit more than your number of services now, and the end result that I've reached is that I've used NAGIOS version 1.0 compiled from source along with apan, and its working perfectly fine. I've played with concurrent_checks parameter to the extent where the:<br>nagios -s /usr/local/nagios/etc, but always used the value proposed value.<br> <br>Ali Al-Khalidi<br><BR><BR><BR><BR><BR><BR>--- On Wed 09/10, Marcio Queiroz < marcioqueiroz@vicom.com.br > wrote:<BR><br><BLOCKQUOTE style="PADDING-LEFT: 7px; MARGIN-LEFT: 7px; BORDER-LEFT: orange 2px solid"><B>From: </B>Marcio Queiroz [mailto: marcioqueiroz@vicom.com.br]<BR><B>To: </B>mav@juniper.net, alikhalidi@excite.com, chet@rcn.com, nagios-users@lists.sourceforge.net<BR><B>Cc: </B>marcioqueiroz@vicom.com.br<BR><B>Date: </B>Wed, 10 Sep 2003 12:08:57 -0300<BR>
 <B>Subject: </B>RES: [Nagios-users] Urgent: nagios + apan memory chewing up<BR><BR>I have 200 services using apan and i have the same problem, but it only<BR>happens when i increse the number_of_concurrent_checks for more than 30. The<BR>problem is that if i limit in 30, my check latency goes for something like 5<BR>minutes. If the solution is to take off apan, i would like to know. Any<BR>ideias ?<BR><BR>[]s<BR><BR>Marcio Q. Dall Agnol<BR>phone : 55-21-3873-5826<BR>Fax : 55-21-3873-5845<BR>marcioqueiroz@vicom.com.br<BR>VICOM<BR>Net Serviços de Comunicação S/A<BR>Visite nossas páginas:<BR>Redes Corporativas: <HTTP: www.vicom.com.br><BR>Internet Banda Larga: <HTTP: www.virtua.com.br><BR>TV por Assinatura : <HTTP: www.net.tv.br><BR>Institucional: http://www.netservicos.com<BR><BR><BR><BR>> ----- Mensagem original -----<BR>> De: Ian Davidson [SMTP:mav@juniper.net]<BR>> Enviada em: quarta-feira, 10 de setembro de 2003 09:59<BR>> Para: alikhalidi@excite.com; chet@rcn
 .com;<BR>> nagios-users@lists.sourceforge.net<BR>> Cc: marcioqueiroz@vicom.com.br<BR>> Assunto: RE: [Nagios-users] Urgent: nagios + apan memory<BR>> chewing up<BR>> <BR>> What was the final conclusion to all of this? I've just hit the same<BR>> problem of swap-space being chewed up to the point of distraction but<BR>> cannot pinpoint from this thread what the exact -fix- is. Is it really<BR>> the perl stuff that's causing it to barf?<BR>> <BR>> Cheers,<BR>> <BR>> Ian<BR>> <BR>> <BR>> <BR>> ________________________________<BR>> <BR>> From: nagios-users-admin@lists.sourceforge.net<BR>> [mailto:nagios-users-admin@lists.sourceforge.net] On Behalf Of ali<BR>> Sent: 16 August 2003 08:30<BR>> To: chet@rcn.com; alikhalidi@excite.com;<BR>> nagios-users@lists.sourceforge.net<BR>> Cc: marcioqueiroz@vicom.com.br<BR>> <BR>> <BR>> <BR>> Thanks for the reply, and I realy appriciate your input.<BR>> I ha
 ve my nagios installed from an RPM, version 1.1<BR>> I've read somewhere in the posts about this recommendation (compile<BR>> without embedded per and perl cache), but after I've checed the RPM spec<BR>> built file, it seems that the person who built the RPM has disabled<BR>> these two options for RedHat 8 and 9. so I am running a version with<BR>> these two options off (any other suggestions), but I might have mis-read<BR>> the sepc file!.<BR>> <BR>> So you're telling me that nagios (v 1.1) has this core problem, even<BR>> without Embeded Perl and Perl Cache, or is it this factor that you<BR>> eleminated to get around the problem, please clearify the issue<BR>> pertaining to the nagios plugings (especially check_snmp)?<BR>> Has the disabling of these two options solved the problem completely in<BR>> your case (because if so, I can drop ! the 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>> <BR>> <BR>> From: Chet Luther [mailto: chet@rcn.com]<BR>&gt
 ; To: alikhalidi@excite.com, nagios-users@lists.sourceforge.net<BR>> Cc: marcioqueiroz@vicom.com.br<BR>> Date: Thu, 14 Aug 2003 11:00:13 -0400<BR>> Subject: Re: [Nagios-users] Urgent: nagios + apan memory chewing<BR>> up<BR>> <BR>> Ali,<BR>> Recompile Nagios without embedded perl or perl caching support.<BR>> I had<BR>> this same problem, and it was due to global namespace pollution<BR>> in the<BR>> embedded perl cache. The real solution to this problem would be<BR>> rewriting<BR>> all the perl plugins/extensions in a mod_perl safe way, but I<BR>> 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>> ! Greetin
 gs,<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<BR>> starts chewing<BR>> memory so fast that the system becomes cloged and the only way<BR>> to regain<BR>> control for the system is to REBOOT.<BR>> I've read and practiced a lot with the tunning paramers of<BR>> 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<BR>> 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 proble
 m.the<BR>> system starts<BR>> memory usage in almost a linear fashion, untill the free section<BR>> of<BR>> buffers/cache st! arts comming down, and the systems goes to<BR>> 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<BR>> is lost.<BR>> <BR>> its a production system, and I really appriciate help<BR>> <BR>> thanks,<BR>> <BR>> <BR>> <BR>> <BR>> <BR>> <BR>> ________________________________<BR>> <BR>> Join Excite! - http://www.excite.com<BR>> The most personalized portal on the Web! <BR>> <BR>> <BR>> -------------------------------------------------------<BR>> This sf.net email is sponsored by:ThinkGeek<BR>> Welcome to geek heaven.<BR>> http://thinkgeek.com/sf<BR>> _______________________________________________<BR>> Nagios-users mailing list<BR>> Nagios
 -users@lists.sourceforge.net<BR>> https://lists.sourceforge.net/lists/listinfo/nagios-users<BR>> ::: Please include Nagios version, plugin version (-v) and OS when<BR>> reporting any issue. <BR>> ::: Messages without supporting info will risk being sent to /dev/null<BR></BLOCKQUOTE></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>