View Single Post

  #2 (permalink)  
Old 07-07-2006
teimue
 
Posts: n/a
Default Re: Problem: traps inrease memory consumtion on runtime

An addition to my first posting:
I'm using the code from the trap example in example/notification.c
file.

teimue wrote:
> 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"


Reply With Quote