<p>I have captured logs for the scenario and uploaded to zippyshare . Please let me know if you want me to upload to anyother location </p>
<p><a href="http://www76.zippyshare.com/v/njlgk4lW/file.html">http://www76.zippyshare.com/v/njlgk4lW/file.html</a></p>
<p>1) netstat_debug.log --- netstat info for the particular endpoint (10.205.203.130 in this case)<br>
2) opensipsctl_debug.log --- list_tcp_conns from opensips for the particular end point (10.205.203.130)<br>
3) opensips.log --- opensips logs with debug level 6</p>
<p>Call flow and timestamps :<br>
1) 15:45:02 --- created a TCP connection to send out SIP NOTIFY to 10.205.203.130<br>
2) 15:46:30 --- unplugged the network cable from the endpoint 10.205.203.130<br>
3) 15:47:11 --- tcp connection timed out (FYI tcp_connection_lifetime=120 in opensips.cfg)<br>
4) 15:49:30 --- Tried another call to the same end point while the network cable was unplugged. opensips created another TCP connection to send another SIP NOTIFY, netstat showed this connection in SYN_SENT state<br>
5) 15:50:31 --- the above connection went away from net stat and opensips started printing "BUG - trying to del fd 34 with flags 2 1" in infinite loop</p>
<p>FYI, I changed the debug level of this message from ERR to DBG in source code and recompiled so that it doesnt fill my hard drive while running in debug=2 mode</p>
<p>Let me know if you need more clarification or any other details regarding this issue</p>
<p>Thanks<br>
Rahul Gupta</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/OpenSIPS/opensips/issues/591#issuecomment-128507656">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOcib9xDdQWAGcbvH--u5gw21sUA0VSks5ok8QZgaJpZM4FnHG4.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://github.com/OpenSIPS/opensips/issues/591#issuecomment-128507656"></link>
<meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>