Problem: traps inrease memory consumtion on runtime

This is a discussion on Problem: traps inrease memory consumtion on runtime within the SNMP Users forums, part of the Networking and Network Related category; Hello, I'm using net-snmp 5.3.0.1. It is cross compiled on a embedded MIPS System. Sending ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-07-2006
teimue
 
Posts: n/a
Default Problem: traps inrease memory consumtion on runtime

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
  #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
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:39 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0