Re: My process is blocked while sendin a trap

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
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

-------------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.