Yes, it helps if I force a sleep of 1 second for each call of send_v2trap

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.

I hope to find another work around...

>From: "Dave Shield" <[EMAIL PROTECTED]>
>To: "Arnaud BODENAN" <[EMAIL PROTECTED]>
>CC: [email protected]
>Subject: Re: My process is blocked while sendin a trap
>Date: Tue, 10 Oct 2006 09:21:31 +0100
>
>On 10/10/06, Arnaud BODENAN <[EMAIL PROTECTED]> wrote:
> > My subagentX is sending massively traps, and is blocked when sending the 
>281 trap.
>
> > Do I have to force a call to sleep (pthread_delay_np) before to send the 
>trap?
>
>Try it - does that help?
>
>Dave
>
>-------------------------------------------------------------------------
>Take Surveys. Earn Cash. Influence the Future of IT
>Join SourceForge.net's Techsay panel and you'll get the chance to share 
>your
>opinions on IT & business topics through brief surveys -- and earn cash
>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>_______________________________________________
>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
>

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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

Reply via email to