Re: Net-SNMP daemon stops responding

Nisha P K <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 9/1/2011 7:01 PM, Wes Hardaker wrote:
>>>>>> On Thu, 01 Sep 2011 14:42:38 +0530, Nisha P K<[email protected]>  said:
> NPK>  But whenever I query for HOST-RESOURCES-MIB (hrSWInstalledTable OID
> NPK>  - 1.3.6.1.2.1.25.6.3), it gets hanged and then the agent does not
> NPK>  respond to any queries further. I have to restart the snmpd to make
> NPK>  the agent working.
>
> That particular table is frequently very large and thus "not fast".  Can
> you try something for me: query it again using a large timeout ("-t 120
> -r 0" will let it try for 120 seconds to answer and will only query it
> once).
>
> I suspect that the issue may be the agent is still trying to answer the
> questions asked and it's taking too long.  Then another (retry) query
> gets to it, and after it finally answers the first it starts thinking
> about the second.
>
> If you look at 'top' output or another similar tool, I bet you'll find
> the agent is simply thinking.
Thank you Wes. Your inputs helped me in solving two issues related to 
snmpd.
I was able to fix this by increasing the time out and reducing the 
number of retries.

Regards
Nisha



------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
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.