FW: snmpd reduce memory usage

"Makavy, Erez (Erez)" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <AAB4B3D3CF0F454F98272CBE187FDE2F09E0EA7A@is0004avexu1.global.avaya.com>
Furthermore, 
 
This earlier mail i wrote was referring to net-snmp-5.2.1-2
When using net-snmp-5.3, I set the environment variable MIBS to empty
string, 
and the RAM usage droped from ~5 only to ~4.6, what's the deal here?
 
How can I iverify that no MIBs (text files) are parsed and loaded?
 
Thanks,
Erez.
 

  _____  

From: [email protected]
[mailto:[email protected]] On Behalf Of Makavy,
Erez (Erez)
Sent: Sunday, January 15, 2006 7:59 PM
To: [email protected]
Subject: snmpd reduce memory usage


Hey,
 
While trying to reduce snmpd memory usage, 
and going over old mailing-list items.
 
I think I understood from one of them thatm initializing the snmp
librarie, invokes parsing of MIB text files, and loading them to memory.
 
I set MIBS environment variable to empty string (instead of ALL), 
and my master-agent memory usage (RSS column in ps -A v), reduced from
~5MB to 2.6MB.
 
I find it a bit confusing:
 
1) what exactly doess the environment variable MIBS affect?
     as I understand it it affect only the MIBs which the snmp libraries
will be initialized for, but it does not decide which MIBs the snmpd
loads. right?
    1a) why in the firstplace are MIB text files parsed and loaded to
the memory of the snmpd? what use does it have for them?
 
2) what exactly do these configure tokes affect: --with-mib-modules,
--with-out-mib-modules ?
    
 
thanks,
Erez
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.