Hi,

I've searched the recent messages in the mailing list for memory leaks and other similar terms and found nothing helpful.
Here's my situation:
I have net-snmp 5.4 running on

- RH8 and CentOS 4.4 systems (compiled with no options to configure)
- Solaris 10. (compiled without embedded-perl because of perl issues)

I also have some copies of 5.1.2 (the official CentOS version) installed
as binary from the CentOS distribution.

In all of these installations, both snmpd and snmptrapd suck up memory until the system runs out of swap space and dies. I have had to resort to restarting snmpd and snmptrapd every night to keep it manageable.

I originally thought the embedded perl may be the problem, but I have removed all embedded perl modules, and on Soalris it was never installed. For example, on a CentOS system running net-snmp 5.1.2 from the binary, the following was the contents of snmptrapd.conf:

========= snmptrapd.conf ==============
forward default 192.168.207.20
==================================

After three/four days, here is the output of top:

 PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 5111 root        16   0   550m  541m 1456 S    0 13.4 188:04.32 snmptrapd

550meg? it started out as 12m.
The same thing happens to all my installations of net-snmp. It happens equally to snmpd and snmptrapd.

I have taken to restarting all my snmp services every night to keep my systems from crashing. snmpd and snmptrapd have both taken systems down by grabbing more memory than I had swap space.

No one else seems to have this problem, at least there's no mention of it that I can find in this mailing list. I clearly have a problem, but what? Wht does no one else have this problem? The only thing even vaguely common to my installations is gcc, and there I have several different versions in play.

Anyone have a suggestion/clue/idea?

Thanks a lot for whatever suggestions anyone may have. This is driving me nuts.
Mike
begin:vcard
fn:Mike Schmidt
n:Schmidt;Mike
org:Intello Technologies Inc. 
adr;quoted-printable;quoted-printable:;;580 1=C3=A8re Rue;Saint-Jean-sur-Richelieu;Qu=C3=A9;J2X 3B4;Canada
email;internet:[EMAIL PROTECTED]
title:Vice-President
tel;work:450-358-2266 x223
tel;cell:514-835-9497
x-mozilla-html:FALSE
url:http://www.intello.com
version:2.1
end:vcard

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to