From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Description of problem: When executing the command "snmpget -v1 -c public localhost enterprises.ucdavis.memory.memTotalSwap.0" or getting the same OID from an snmp utility, the snmpd dies. Version-Release number of selected component (if applicable): net-snmp-5.1.2-11 How reproducible: Always Steps to Reproduce: 1.snmpget -v1 -c public localhost enterprises.ucdavis.memory.memTotalSwap.0 2. 3. Actual Results: The snmpd dies. Additional info: grep -v "^#" snmpd.conf | grep -v "^$" com2sec notConfigUser default public group notConfigGroup v1 notConfigUser group notConfigGroup v2c notConfigUser view systemview included .1.3.6.1.2.1.1 view systemview included .1.3.6.1.2.1.25.1.1 view all included .1 80 access notConfigGroup "" any noauth exact all none none syslocation xxxxxx syscontact xxxxxxxx <xxxxx> pass .1.3.6.1.4.1.4413.4.1 /usr/bin/ucd5820stat
What's your actually Swap size? Don't you have some incredibly high value? # rpm -q net-snmp net-snmp-5.1.2-11 #snmpget -v1 -c public localhost enterprises.ucdavis.memory.memTotalSwap.0 UCD-SNMP-MIB::memTotalSwap.0 = INTEGER: 2031608
No, as you can see I have 512Mb of swap [root@xxxx ~]# free total used free shared buffers cached Mem: 451176 439100 12076 0 17804 153112 -/+ buffers/cache: 268184 182992 Swap: 522104 4344 517760 [root@xxxx ~]# rpm -q net-snmp net-snmp-5.1.2-11
Hmm, now I see the bug, it really needed a greater swap size for reproducing it .. working on a patch
The FC version is fixed in rawhide - latest net-snmp-5.2.1 shows correctly swap size. I'm moving this bug from FC to RHEL which is also affected.
Sorry, I ment RHEL4
Sorry for the delay, I tested net-snmp-5.2.1-5 on FC3. And worked fine.
Fix for RHEL4 is on the way ...
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2005-395.html