This is very interesting... Concerning the two sessions: - they would be created in the same thread? - or there would be one thread managing the session for get/set..., and one thread managing traps?
Is the session API thread safe? >From: "Dave Shield" <[EMAIL PROTECTED]> >To: "Arnaud BODENAN" <[EMAIL PROTECTED]> >CC: net-snmp-users@lists.sourceforge.net >Subject: Re: My process is blocked while sendin a trap >Date: Wed, 11 Oct 2006 16:47:59 +0100 > >On 11/10/06, Arnaud BODENAN <[EMAIL PROTECTED]> wrote: > > In fact, I'm using trap mechanism to dispatch all errors arising in our > > servers. > > Chances that error messages will be sent massively are statically low... > >Good. > > > But this scenario can occur, and this blocks my server... I just to try >to > > figure out if I can imagine a work around. > >The plan I have in mind is to separate out the processing of incoming >requests, >and generating notifications - use two separate AgentX sessions for >these two purposes. > >That should help avoid the sort of collision that you're seeing. >But nothing will happen until after 5.4 is out. > > > > The problem is that we have multiple servers that can potentially send >traps. > >That's OK. The problem is with having a single subagent that is both >sending traps and receiving requests at the same time. Having >several servers running in parallel doesn't raise the same issues - >they'll be using different sessions already. It's a problem that's >focussed on each master-subagent link individually. > > >Dave > >------------------------------------------------------------------------- >Using Tomcat but need to do more? Need to support web services, security? >Get stuff done quickly with pre-integrated technology to make your job >easier >Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >_______________________________________________ >Net-snmp-users mailing list >Net-snmp-users@lists.sourceforge.net >Please see the following page to unsubscribe or change other options: >https://lists.sourceforge.net/lists/listinfo/net-snmp-users > _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users