|
|
| Author |
Message |
balleman Site Admin
Joined: 20 Jan 2003 Posts: 282
|
Posted: Mon May 24, 2004 9:46 pm Post subject: NET-SNMP on Fedora Core 2 |
|
|
| I recently upgraded my desktop from FC1 to FC2, and now my snmpd will sit and eat 100% of cpu-time constantly. Anyone experience this, or have a solution? |
|
| Back to top |
|
 |
silfreed Site Admin
Joined: 19 Jan 2003 Posts: 394 Location: Shippensburg, PA, USA
|
Posted: Tue May 25, 2004 1:12 am Post subject: |
|
|
No clue. Have you strace'd the daemon yet to see where the tight-loop is?
I think Net-SNMP 5.1.1 might have some other bugs; I have a bug open with Red Hat about the pass-through support in it, but it appears to be in the tarball as well.
-Doug |
|
| Back to top |
|
 |
balleman Site Admin
Joined: 20 Jan 2003 Posts: 282
|
Posted: Tue May 25, 2004 1:24 am Post subject: |
|
|
Ok, I found it.
In /etc/rc.d/init.d/snmpd there was
| Code: |
| OPTIONS="-Lsd v/null -p /var/run/snmpd -a -c /etc/snmp/snmpd.conf" |
The -L options are for logging, and they're conflicting apparently. I removed the /dev/null one and kept the syslog one.
| Code: |
| OPTIONS="-Lsd -p /var/run/snmpd -c -a /etc/snmp/snmpd.conf" |
Seems to be fine now. |
|
| Back to top |
|
 |
balleman Site Admin
Joined: 20 Jan 2003 Posts: 282
|
Posted: Tue May 25, 2004 11:02 pm Post subject: |
|
|
| Well, it's not fine. At some point during troubleshooting I must've deleted my snmpd.conf. I realized that today, created a new one, and it's happening again. |
|
| Back to top |
|
 |
|