Hi,
 
Problem:
-------------
Sometimes the snmpd stops responding to any requests.
Only a restart of the snmpd helps.
 
Analysis:
--------------
snmpd logs shows this message for every request:
----
trace: netsnmp_handle_request(): snmp_agent.c, 3020:
snmp_agent: request queued while processing set, asp = 0x1010aa78
---
 
 
Reproducing the problem:
-----------------------------------
- I got a sub-agent which imlements a leaf.
- I have a script setting the leaf's value each second in a loop.
- I got another scripts which kills the sub-agent and restarts is every
~0.2-0.6 sec.
 
After a short while the master agent stops responding. (I query the
sysUpTime).
 
Stuff that might help:
-----------------------------
- My sub-agent's implementation of the mentioned leaf includes creating
a thread (ofcourse that created thread does not do any snmp related
stuff).
 
Question:
--------------
I'm trying to look at the code and see how the netsnmp_processing_set
flag gets set,
and see how it might be fixed.
I'd appreciate some help with this.
 
Thanks,
Erez.
 
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to