[AGENT++] SNMPv3_MP_UNKNOWN_PDU_HANDLERS error

Anurag Jain anuragjain026 at hotmail.com
Wed Nov 14 23:16:25 CET 2007


Jochen,
 
Appreciate your help ..and quick turn around , as usual !!! Good results so far.
 
We have been beating on the patch fix and have had no errors. 
We are running tests overnight on 2 systems but by now we would have seen many occurrences of the problem with the old code.
 
Regards,
Anurag
 
 
 
 
> Date: Tue, 13 Nov 2007 23:01:09 +0100> From: katz at agentpp.com> To: anuragjain026 at hotmail.com> CC: agentpp at agentpp.org> Subject: Re: [AGENT++] SNMPv3_MP_UNKNOWN_PDU_HANDLERS error> > Hello,> > > I am not sure we are gettng a TIMEOUT , we are actually being returned> > the status - SNMPv3_MP_UNKNOWN_PDU_HANDLERS,> > yes, I could verify this. There is a race condition in> Snmp::snmp_engine() function. First the request is sent and afterwards> the message is added to the list of outstanding requests. Therefore the> following can happen:> > Thread 1: send request> Thread 2: process response> v3MP deletes its state information> no entry in msg queue -> discard> Thread 1: add request to msg queue> Thread : resend message because of timeout> Thread : process response> no state information in v3MP -> unknown pdu handlers> Thread 1: returns unknown pdu handlers> > I'm attaching the patch for uxsnmp.cpp/h, but as it won't go through> mailman, list members have to wait for the next snapshot at> http://oosnmp.com/~katz/snapshot/> > Regards,> Jochen
_________________________________________________________________
Climb to the top of the charts!  Play Star Shuffle:  the word scramble challenge with star power.
http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct


More information about the AGENTPP mailing list