did you ever get a timeout error when restart the client program frequently?

Magus Chen <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi, all
I had a problem when using snmp to control my own program. The situation is,
when I start the program and using snmp command to control it, it works
well. Then I wrote a automation script to let the program
start automatically(performing automation test indeed). My program will be
start and stop quite frequently. after a while, snmpd return a time error
when I using 'snmpget', 'snmpset' or 'snmpwalk'
Then I loop up the log, it seems nothing wrong... but always get a timeout
result. It can be resolve by restarting the snmpd service. But I do want to
know the root cause and get it fix.
Is there any idea about this issue?

my snmpd log option:  OPTIONS="-Ls 0-7 -Lf /var/log/snmpd.log -p
/var/run/snmpd.pid -a"

{{{
Received SNMP packet(s) from UDP: [127.0.0.1]:35416
Connection from UDP: [127.0.0.1]:35416
Connection from UDP: [127.0.0.1]:35416
Connection from UDP: [127.0.0.1]:35416
Connection from UDP: [127.0.0.1]:35416
Connection from UDP: [127.0.0.1]:35416
Connection from UDP: [127.0.0.1]:35416
Connection from UDP: [127.0.0.1]:35416
Connection from UDP: [192.168.0.67]:43072
Received SNMP packet(s) from UDP: [192.168.0.67]:43072
Connection from UDP: [192.168.0.67]:37308
Received SNMP packet(s) from UDP: [192.168.0.67]:37308
Connection from UDP: [192.168.0.67]:33979
Received SNMP packet(s) from UDP: [192.168.0.67]:33979
Connection from UDP: [192.168.0.67]:45478
Received SNMP packet(s) from UDP: [192.168.0.67]:45478
Connection from UDP: [192.168.0.67]:36826
Received SNMP packet(s) from UDP: [192.168.0.67]:36826
Connection from UDP: [127.0.0.1]:35416
Connection from UDP: [127.0.0.1]:35416
Connection from UDP: [127.0.0.1]:35416
}}}

Thank you!
-- 
Magus

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev

_______________________________________________
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.