Re: Subagent timeout

Bart Van Assche <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On Wed, May 27, 2009 at 1:40 PM, Joan Landry
<[email protected]> 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
[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.