Re: snmptrapd with increasing memory usage on RHEL 4
Gertraud Unterreitmeier <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hello Wes, first let me thank for you explanation, that make it quite more understandable. I built now a own rpm with disabled sub agent and that helps. Turning this of without compiling sound interesting but it didn't work for me, I already tried this with the rpm found on the download page (net-snmp-5.3-1.el4.i386.rpm <http://prdownloads.sourceforge.net/net-snmp/net-snmp-5.3-1.el4.i386.rpm>) but it did still consume increasing memory. Maybe I used the wrong options. An snmptrapd -H didn't give me a hint whit what option I could disable the subagent What I tried was starting the snmptrapd with the additional option --disable-snmptrapd-subagent. But this didn't fix the problem with the memory increasing. Which option do I have to use to disable the agent without rebuilding the package? So long, Gertraud * * Wes Hardaker wrote: >>>>>>On Tue, 21 Mar 2006 09:01:17 +0100, Gertraud Unterreitmeier <[email protected]> said: >>>>>> >>>>>> > >Gertraud> What surprises me is that this feature is enabled by default >Gertraud> if it has such a memory leak. > >It's logging packets for you, which is part of the problem (it lets >you actually snmpwalk the trapd to see what it's received). You can >also turn it off at runtime without re-compiling. > >I thought it was set to only store 100 traps, so 65mb sounds like a >problem certainly. > > > ***************************************************************************** Probleme mit Spam Mails? Glauben Sie, Ihr Viren- und Spam Schutz kostet Sie zuviel? Dann testen Sie e:scan V3 powered by postini kostenlos mit unserer Trial Version!! Mehr Infos unter: http://www.integralis.de ***************************************************************************** Please note that: 1. This e-mail may constitute privileged information. If you are not the intended recipient, you have received this confidential email and any attachments transmitted with it in error and you must not disclose, copy, circulate or in any other way use or rely on this information. 2. E-mails to and from the company are monitored for operational reasons and in accordance with lawful business practices. 3. The contents of this email are those of the individual and do not necessarily represent the views of the company. 4. The company does not conclude contracts by email and all negotiations are subject to contract. 5. The company accepts no responsibility once an e-mail and any attachments is sent. http://www.integralis.com