[AGENT++] Multi threaded Process: Dedicated thread for snmp trap
Anurag Jain
anuragjain026 at hotmail.com
Tue Jan 20 00:12:07 CET 2009
Is there any potential deadlock scenarios in scenario described before of traps interfering with get operations especially under high load traps traffic ?
> From: anuragjain026 at hotmail.com
> To: agentpp at agentpp.org; katz at agentpp.com
> Date: Mon, 19 Jan 2009 16:43:02 -0600
> CC:
> Subject: [AGENT++] Multi threaded Process: Dedicated thread for snmp trap
>
>
>
>
> Is it possible create a dedicated thread to receive snmp traps in a multi threaded process ?
>
> Looking at the source of snmp++ 3.2.23 this does not seem possible even if we use the Snmp::start_poll_thread as the
> SNMPBlockForResponse (called during get operations from Snmp::snmp_engine) function also calls SNMPProcessEvents -> SNMPProcessPendingEvents that would cause the registered trap callback function to be called
> during synchronous snmp gets . We are seeing this behaviour where our snmp get/walk threads are being stepped on by trap callbacks potenitally deadlocking ?
>
> Please advice correct use to ensure dedicated or single purpose callback thread for trap reception in a multi threaded process where other threads are to be used for
> snmp get operations only.
>
> Thanks
> Anurag
>
> _________________________________________________________________
> Windows Live™ Hotmail®: Chat. Store. Share. Do more with mail.
> http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t1_hm_justgotbetter_howitworks_012009_______________________________________________
> AGENTPP mailing list
> AGENTPP at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/agentpp
_________________________________________________________________
Windows Live™: Keep your life in sync.
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_allup_explore_012009
More information about the AGENTPP
mailing list