|
From: Frank W. <Fra...@ct...> - 2007-11-07 07:28:33
|
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 guarantee > it solves your problem). I can confirm the memory leakage in net-snmpd. At the time I discovered it = I=20 googled around a bit, and it seemed to be a well known problem with=20 net-snmpd.=20 snmpd eats up to 90% of memory on my DLs (256 MB RAM), and then stuff start= s=20 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..= =2E.=20 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=20 too. Matthew: wow, 150 DLs. How do you manage them?=20 Have a nice day, =46rank =2D-=20 _______________________________________________ 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 _______________________________________________ |