--===============0272432296==
Content-Type: multipart/alternative;
boundary="----=_Part_6938_17396734.1175868292436"

------=_Part_6938_17396734.1175868292436
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hello Friends
I have written code using net-snmp 5.4 API for subagent which will send trap
to destination using agentx support in net-snmp.
However if i configures some unresolved/unreachable host, the snmp subagent
hangs in 'send' system call.
I am using TCP commn protocol between subagent and snmpd.
On investigation, i found that tcp buffers are full. I don't know why this
is happening.

Here is the output of netstat cmd

Proto Recv-Q Send-Q Local Address Foreign Address
State PID/Program name
================================================== ========================
tcp 0 0 127.0.0.1:705 0.0.0.0:*
LISTEN 5687/snmpd
tcp 73120 65536 127.0.0.1:47506 127.0.0.1:705
ESTABLISHED 5655/subagent
tcp 74904 65536 127.0.0.1:705 127.0.0.1:47506
ESTABLISHED 5687/snmpd

Regards
Bhushan. E . Sonawane

------=_Part_6938_17396734.1175868292436
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hello Friends
I have written code using net-snmp 5.4 API for subagent which will send trap
to destination using agentx support in net-snmp.
However if i configures some unresolved/unreachable host, the snmp subagent hangs in 'send' system call.

I am using TCP commn protocol between subagent and snmpd.
On investigation, i found that tcp buffers are full. I don't know why this is happening.

Here is the output of netstat cmd

Proto Recv-Q Send-Q Local Address           Foreign Address             State        PID/Program name

================================================== ========================
tcp        0       0       127.0.0.1:705            0.0.0.0:*                       LISTEN          5687/snmpd

tcp    73120  65536  127.0.0.1:47506        127.0.0.1:705           ESTABLISHED    5655/subagent
tcp    74904  65536 
127.0.0.1:705
           127.0.0.1:47506         ESTABLISHED   5687/snmpd

Regards
Bhushan. E . Sonawane

------=_Part_6938_17396734.1175868292436--


--===============0272432296==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
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?p...rge&CID=DEVDEV
--===============0272432296==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders

--===============0272432296==--