Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-28-2011, 02:25 PM   #1
LQ Newbie
Registered: Nov 2011
Posts: 3

Rep: Reputation: Disabled
Netsnmp vmdata constantly increases

I am using netsnmp on my module (arm CPU) and I noticed that snmpd process mem usage keeps on increasing when process send trap. Looking at /proc/status I see that vmdata number is constantly increasing.
I need help understanding why this happens and how to solve this problem

Any help is appreciated

Old 12-04-2011, 09:27 AM   #2
LQ Newbie
Registered: Nov 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
found the problem - memory leak snmpd

I am using net-snmp on an embedded device with relatively limited memory resources (64Mb to be specific).

I started noticing that the process of snmpd took more and more memory on each trap I sent from the device. The process reached around 20Mb of memory and then the memory usage stopped to increase. This memory usage was off course too big for my device.

Finally (using the great help of Bill Fenner) I understood the memory was taken by the notification mib module. I removed it from the modules and it solved my problem.

---------- Post added 12-04-11 at 04:28 PM ----------

Do you have the NOTIFICATION-LOG-MIB compiled into your snmpd? If so, it is keeping track of all the traps (well, the last 1000) that you've sent. This could explain the memory usage you are seeing.
1 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
VmData joemon83 Linux - Server 3 11-28-2011 02:19 PM
netsnmp on solaris8 lamou23 Solaris / OpenSolaris 1 02-02-2011 04:32 PM
VmRSS increases but VmData does not pmurthy Linux - Kernel 1 12-17-2010 04:40 PM
NetSnmp question hemulll Linux - Software 2 07-30-2008 01:08 AM
link down trap with netsnmp giovannicuriel Linux - Networking 0 06-20-2006 03:04 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:10 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration