|
From: John J. <jo...@jo...> - 2007-11-07 10:32:48
|
Frank, Thank you very much for this. My DL box was having problems last night and = a reboot solved it. and it was low on memory with INIT constantly re-spawni= ng. And I too use net-snmpd. In your experience, was it enough to restart snmpd and would adding this to= a cron job once a month potentially be enough to avoid restarting the enti= re DL? Regards, John Jore ________________________________________ From: dev...@li... [devil-linux-discus= s-b...@li...] On Behalf Of Frank Weis [Fra...@ct...= ] Sent: 07 November 2007 07:28 To: dev...@li... Subject: Re: [Devil-Linux-discuss] [BULK] Re: RAM Usage On Tuesday 06 November 2007 20:28:07 Serge Leschinsky wrote: > Hi Matthew, > > Matthew Hattersley wrote: > > We have around 150 DL boxes out in the wild now, and there may be a > > small problem that keeps happening. Under heavy load the boxes will > > start running low on RAM, at which point we get malloc errors for some > > daemons running on the unit. First thing to go is usual snmpd, which > > isn't a major issue. But further down the line we start loosing things > > like ssh, and in some cases even more crtical processes. > > That's weird! I've just finished troubleshooting of terrible memory leaks > in our application (not DL related) and faced that net-snmp 5.4.0 eats > memory with greate speed (especially libsnmp). The release notes for 5.4.= 1 > show that some leaks were fixed in 5.4.1 ( [BUG 1619827],[PATCH 1616912]= , > [PATCH 1592706]). I think we may update net-snmp to 5.4.1 but I've not > checked yet if the update really solves our problem (and I can't guarante= e > it solves your problem). I can confirm the memory leakage in net-snmpd. At the time I discovered it = I googled around a bit, and it seemed to be a well known problem with net-snmpd. snmpd eats up to 90% of memory on my DLs (256 MB RAM), and then stuff start= s to fail. I obviously notice it when ssh fails. As a workaround, I just restart snmpd on all my DLs every once in a while..= .. MRTG handles this nicely, and I don't loose to much information. It looks like the problem occurs mostly/sooner on boxes that run ipsec tunn= els too. Matthew: wow, 150 DLs. How do you manage them? Have a nice day, Frank -- _______________________________________________ Centre de Technologie de l'Education 29 avenue John F. Kennedy L-1855 Luxembourg-Kirchberg email: Fra...@ct... t=E9l.: +352 478-5973 fax: +352 333797 _______________________________________________ ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Devil-linux-discuss mailing list Dev...@li... https://lists.sourceforge.net/lists/listinfo/devil-linux-discuss |