Re: My process is blocked while sendin a trap
"Arnaud BODENAN" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, 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... 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 problem is that we have multiple servers that can potentially send traps. I can correct this in one application (I have a counter in each application that forces a sleep each time 250 traps are sent), but I can't with multiple. >From: "Dave Shield" <[email protected]> >To: "Arnaud BODENAN" <[email protected]> >CC: [email protected] >Subject: Re: My process is blocked while sendin a trap >Date: Wed, 11 Oct 2006 13:17:22 +0100 > >On 10/10/06, Arnaud BODENAN <[email protected]> wrote: >>Yes, it helps if I force a sleep of 1 second for each call of send_v2trap > >That's what I half-expected. >The current subagent mechanism isn't particularly robust when it comes >to high-volume trap generation - particularly in conjunction with >high-volume incoming requests. >What you're describing is probably the perfect scenario to trigger this >problem. > >I've got some ideas about how to address this, but it's not going to >be part of 5.4. >Certainly nothing's likely to be available to help your immediate problem. > > > >>Unfortunately, as my thread is managing: >>- answers to snmpget... >>- updating metrics on a table >>- sending traps >> >>This workaround would block my thread 1 second each time a trap is sent. > >My best suggestion is to take a step back, and think about the problem >you're trying to solve. Is generating a steady stream of >notifications actually necesssary? Or could you address the >fundamental problem in some other way? > >Dave _________________________________________________________________ FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/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 [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users