CPU usage rate reaches 100% due to an snmpd process.

Solution Verified - Updated -

Issue

  • On a system configuring the following 3 proxies in "/etc/snmp/snmpd.conf", if snmpwalk is run to .1.3.6.1.4.1.211.1, it timeouts. Consequently, CPU usage rate reaches 100% due to the snmpd process.

--------------------------------
proxy -v 1 -c public localhost .1.3.6.1.4.1.211.1.1.1.3.3.2.2.1 .1.3.6.1.4.1.231.2.49.1.3.4.0
proxy -v 1 -c public localhost .1.3.6.1.4.1.211.1.1.1.4.1.1.0   .1.3.6.1.4.1.231.2.10.2.1.14.0
proxy -v 1 -c public localhost .1.3.6.1.4.1.211.1.1.1.4.3.1.0   .1.3.6.1.4.1.231.2.10.2.1.18.1.11.11
--------------------------------

  • snmpwalk is run as follows.

# snmpwalk -v 1 -c public localhost .1.3.6.1.4.1.211.1
Timeout: No Response from localhost

  • CPU usage rate reaches 100% as follows.

# top
PID USER      PR  NI %CPU    TIME+  %MEM  VIRT  RES  SHR S COMMAND
19071 root      25   0  100   0:21.63  1.7 39716  33m 2312 R snmpd
...

  • The behavior of snmp proxy seems to be improper and why snmpwalk timeouts and how to avoid that?

Environment

  • Red Hat Enterprise Linux 5 Update 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content