On Wed, May 27, 2009 at 1:40 PM, Joan Landry
<joan.lan...@overturenetworks.com> wrote:
> I found that the actual time or delay is 10 seconds. What I have
> determined is if the subagent delays for 10 seconds during a get
> operation net-snmp closes it's pipe and the subagent program receives
> signal SIGPIPE, Broken pipe.
>
> I added a SIGPIPE handler to the subagent to prevent it from being
> terminated. And the master-agent-subagent reconnect after a period of
> time.
>
> Is this expected behavior from net-snmp. I am running in a system that
> could have 10 second delays - so there is not much I can do about this
> aspect of the problem.

One possible solution is to perform the table updating in a background thread.

Subagents should require not more than one or two seconds to perform
any processing.

Bart.

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
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

Reply via email to