Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Problem: traps inrease memory consumtion on runtime

1 view
Skip to first unread message

teimue

unread,
Jul 7, 2006, 2:14:26 AM7/7/06
to
Hello,
I'm using net-snmp 5.3.0.1. It is cross compiled on a embedded MIPS
System.
Sending traps in V1 or V2 is OK.
But the memory consumption of the snmpd increases on every trap by 4
KByte.
I'm using a AgentX Master and a client. But this is not the problem.
Without agentX it is the same.
The memory growth goes so long to the system is instable.

Has anybody the same problem, a hint or a solution?

Here is my configuration:

SNMPCONFIG = ./configure --with-cc=$(GCC) \
--with-endianness=little \
--with-cpp=$(CROSSC)cpp \
--with-ar=$(CROSSC)ar \
--with-ld=$(CROSSC)ld \
--with-install-prefix=$(FSROOT) \
LDFLAGS= host_alias=mips-linux-gnu \
--prefix=/usr \
--exec-prefix=/usr \
--with-out-transports="UDPIPv6 TCPIPv6 IPX AAL5PVC" \
--without-opaque-special-types \
--disable-debugging \
--disable-manuals \
--disable-scripts \
--disable-des \
--disable-ipv6 \
--disable-internal-md5 \
--with-mib-modules="agentx/master mibII" \
--with-out-mib-modules="smux snmpv3 snmpv3mibs" \
--host=mipsel-linux-gnu \
--with-default-snmp-version="2" \
--with-out-security-modules="ksm" \
--with-zlib \
--without-openssl \
--disable-privacy \
--disable-local-smux \
--disable-static \
--enable-shared \
--with-persistent-directory="/var/tmp" \
--with-logfile="/var/tmp/snmp.log"

teimue

unread,
Jul 7, 2006, 9:51:24 AM7/7/06
to
An addition to my first posting:
I'm using the code from the trap example in example/notification.c
file.
0 new messages