|
From: Mgr. M. J. <mai...@vc...> - 2007-11-08 08:08:51
|
Hello. I can confirm memory allocation problem of net-snmpd too. I restart=20 net-snmpd in cron once a week and it is enought on router with 512MB ram = and whole DL in ramdisk. Jiri Motycka John Jore napsal(a): > 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-= spawning. And I too use net-snmpd. >=20 > In your experience, was it enough to restart snmpd and would adding thi= s to a cron job once a month potentially be enough to avoid restarting th= e entire DL? >=20 >=20 > Regards, > John Jore >=20 >=20 >=20 > ________________________________________ > From: dev...@li... [devil-linux-di= scu...@li...] On Behalf Of Frank Weis [Frank.Weis@= cte.lu] > Sent: 07 November 2007 07:28 > To: dev...@li... > Subject: Re: [Devil-Linux-discuss] [BULK] Re: RAM Usage >=20 > 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 som= e >>> 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 thing= s >>> like ssh, and in some cases even more crtical processes. >> That's weird! I've just finished troubleshooting of terrible memory le= aks >> 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= =2E4.1 >> show that some leaks were fixed in 5.4.1 ( [BUG 1619827],[PATCH 16169= 12], >> [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 guara= ntee >> it solves your problem). >=20 > 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. >=20 > snmpd eats up to 90% of memory on my DLs (256 MB RAM), and then stuff s= tarts > to fail. I obviously notice it when ssh fails. >=20 > As a workaround, I just restart snmpd on all my DLs every once in a whi= le.... > MRTG handles this nicely, and I don't loose to much information. >=20 > It looks like the problem occurs mostly/sooner on boxes that run ipsec = tunnels > too. >=20 > Matthew: wow, 150 DLs. How do you manage them? >=20 > Have a nice day, >=20 > 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 > _______________________________________________ >=20 > -----------------------------------------------------------------------= -- > 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 >=20 > -----------------------------------------------------------------------= -- > 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 |