I enabled DEBUG LEVEL 4 and tried to see what is going on... Here is the log...<div><br></div><div><div>10(24471) DEBUG: &lt;core&gt; [io_wait.h:390]: DBG: io_watch_add(0x83bbc0, 18, 2, 0x7f3334f85820), fd_no=10</div><div>
10(24471) DEBUG: &lt;core&gt; [io_wait.h:617]: DBG: io_watch_del (0x83bbc0, 18, -1, 0x0) fd_no=11 called</div><div>10(24471) DEBUG: &lt;core&gt; [tcp_main.c:4295]: tcp: DBG: sending to child, events 1</div><div>10(24471) DEBUG: &lt;core&gt; [tcp_main.c:3962]: WARNING: send2child: no free tcp receiver,  connection passed to the least busy one (2)</div>
<div>10(24471) DEBUG: &lt;core&gt; [tcp_main.c:3966]: selected tcp worker 0 0(0) for activity on [tls:<a href="http://10.1.0.4:5061">10.1.0.4:5061</a>], 0x7f3334f85820</div><div>10(24471) : &lt;core&gt; [tcp_main.c:3575]: BUG: handle_ser_child: fd -1 for 0 (pid 24461)</div>
<div>10(24471) : &lt;core&gt; [tcp_main.c:3338]: BUG: handle_tcp_child: fd -1061109568 for 0 (pid 0, ser no 0)</div><div>10(24471) : &lt;core&gt; [pass_fd.c:209]: ERROR: send_fd: sendmsg failed sending 18 on -1061109568: Bad file descriptor (9)</div>
<div>10(24471) ERROR: &lt;core&gt; [tcp_main.c:4003]: ERROR: send2child: send_fd failed for 0x7f3334f85820 (flags 0x4018), fd 18</div><div>10(24471) DEBUG: tls [tls_server.c:601]: Closing SSL connection (nil)</div><div><br>
</div><div><br></div><div>send2child is not finding a tcp receiver. I restarted the server. It should find some child... </div><br><div class="gmail_quote">On Sun, Apr 1, 2012 at 9:53 AM, Krishna Kurapati <span dir="ltr">&lt;<a href="mailto:kkurapat@gmail.com">kkurapat@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I restarted Kamailio after a while and I see this issue...<div><br></div><div>Not sure what triggered this. It was working fine before.</div>
<div><br></div><div>Krish Kura<br><div><br></div><div><div>Apr  1 07:41:02 (none) /usr/sbin/kamailio[24074]: INFO: tls [tls_domain.c:235]: TLSs&lt;<a href="http://10.1.0.4:5061" target="_blank">10.1.0.4:5061</a>&gt;: verify_certificate=1</div>

<div>Apr  1 07:41:02 (none) /usr/sbin/kamailio[24074]: INFO: tls [tls_domain.c:238]: TLSs&lt;<a href="http://10.1.0.4:5061" target="_blank">10.1.0.4:5061</a>&gt;: verify_depth=3</div><div>Apr  1 07:41:02 (none) /usr/sbin/kamailio[24074]: INFO: tls [tls_domain.c:567]: TLSs&lt;<a href="http://10.1.0.4:5061" target="_blank">10.1.0.4:5061</a>&gt;: IF client provides certificate then it MUST be valid</div>

<div>Apr  1 07:41:02 (none) /usr/sbin/kamailio[24082]: INFO: ctl [io_listener.c:225]: io_listen_loop:  using epoll_lt io watch method (config)</div></div><div><div>Apr  1 07:41:41 (none) /usr/sbin/kamailio[24084]: : &lt;core&gt; [tcp_main.c:3575]: BUG: handle_ser_child: fd -1 for 0 (pid 24074)</div>

<div>Apr  1 07:41:41 (none) /usr/sbin/kamailio[24084]: : &lt;core&gt; [tcp_main.c:3338]: BUG: handle_tcp_child: fd -1061109568 for 0 (pid 0, ser no 0)</div></div><div><div>Apr  1 07:41:41 (none) /usr/sbin/kamailio[24084]: : &lt;core&gt; [pass_fd.c:209]: ERROR: send_fd: sendmsg failed sending 19 on -1061109568: Bad file descriptor (9)</div>

<div>Apr  1 07:41:41 (none) /usr/sbin/kamailio[24084]: ERROR: &lt;core&gt; [tcp_main.c:4003]: ERROR: send2child: send_fd failed for 0x7ff3c82b3bb8 (flags 0x4018), fd 19</div><div>Apr  1 07:42:21 (none) /usr/sbin/kamailio[24084]: : &lt;core&gt; [tcp_main.c:3575]: BUG: handle_ser_child: fd -1 for 0 (pid 24074)</div>

<div>Apr  1 07:42:21 (none) /usr/sbin/kamailio[24084]: : &lt;core&gt; [tcp_main.c:3338]: BUG: handle_tcp_child: fd -1061109568 for 0 (pid 0, ser no 0)</div><div>Apr  1 07:42:21 (none) /usr/sbin/kamailio[24084]: : &lt;core&gt; [pass_fd.c:209]: ERROR: send_fd: sendmsg failed sending 19 on -1061109568: Bad file descriptor (9)</div>

<div>Apr  1 07:42:21 (none) /usr/sbin/kamailio[24084]: ERROR: &lt;core&gt; [tcp_main.c:4003]: ERROR: send2child: send_fd failed for 0x7ff3c82b3bb8 (flags 0x4018), fd 19</div><div>Apr  1 07:42:21 (none) /usr/sbin/kamailio[24084]: : &lt;core&gt; [tcp_main.c:3575]: BUG: handle_ser_child: fd -1 for 0 (pid 24074)</div>

<div>Apr  1 07:42:21 (none) /usr/sbin/kamailio[24084]: : &lt;core&gt; [tcp_main.c:3338]: BUG: handle_tcp_child: fd -1061109568 for 0 (pid 0, ser no 0)</div><div>Apr  1 07:42:21 (none) /usr/sbin/kamailio[24084]: : &lt;core&gt; [pass_fd.c:209]: ERROR: send_fd: sendmsg failed sending 19 on -1061109568: Bad file descriptor (9)</div>

<div>Apr  1 07:42:21 (none) /usr/sbin/kamailio[24084]: ERROR: &lt;core&gt; [tcp_main.c:4003]: ERROR: send2child: send_fd failed for 0x7ff3c82b3bb8 (flags 0x4018), fd 19</div><div>Apr  1 07:42:45 (none) /usr/sbin/kamailio[24084]: : &lt;core&gt; [tcp_main.c:3575]: BUG: handle_ser_child: fd -1 for 0 (pid 24074)</div>

<div>Apr  1 07:42:45 (none) /usr/sbin/kamailio[24084]: : &lt;core&gt; [tcp_main.c:3338]: BUG: handle_tcp_child: fd -1061109568 for 0 (pid 0, ser no 0)</div><div>Apr  1 07:42:45 (none) /usr/sbin/kamailio[24084]: : &lt;core&gt; [pass_fd.c:209]: ERROR: send_fd: sendmsg failed sending 19 on -1061109568: Bad file descriptor (9)</div>

<div>Apr  1 07:42:45 (none) /usr/sbin/kamailio[24084]: ERROR: &lt;core&gt; [tcp_main.c:4003]: ERROR: send2child: send_fd failed for 0x7ff3c82b3bb8 (flags 0x4018), fd 19</div><div>Apr  1 07:43:39 (none) /usr/sbin/kamailio[24084]: : &lt;core&gt; [tcp_main.c:3575]: BUG: handle_ser_child: fd -1 for 0 (pid 24074)</div>

<div>Apr  1 07:43:39 (none) /usr/sbin/kamailio[24084]: : &lt;core&gt; [tcp_main.c:3338]: BUG: handle_tcp_child: fd -1061109568 for 0 (pid 0, ser no 0)</div><div>Apr  1 07:43:39 (none) /usr/sbin/kamailio[24084]: : &lt;core&gt; [pass_fd.c:209]: ERROR: send_fd: sendmsg failed sending 19 on -1061109568: Bad file descriptor (9)</div>

<div>Apr  1 07:43:39 (none) /usr/sbin/kamailio[24084]: ERROR: &lt;core&gt; [tcp_main.c:4003]: ERROR: send2child: send_fd failed for 0x7ff3c82b3bb8 (flags 0x4018), fd 19</div><div>Apr  1 07:45:22 (none) /usr/sbin/kamailio[24084]: : &lt;core&gt; [tcp_main.c:3575]: BUG: handle_ser_child: fd -1 for 0 (pid 24074)</div>

<div>Apr  1 07:45:22 (none) /usr/sbin/kamailio[24084]: : &lt;core&gt; [tcp_main.c:3338]: BUG: handle_tcp_child: fd -1061109568 for 0 (pid 0, ser no 0)</div><div>Apr  1 07:45:22 (none) /usr/sbin/kamailio[24084]: : &lt;core&gt; [pass_fd.c:209]: ERROR: send_fd: sendmsg failed sending 19 on -1061109568: Bad file descriptor (9)</div>

<div>Apr  1 07:45:22 (none) /usr/sbin/kamailio[24084]: ERROR: &lt;core&gt; [tcp_main.c:4003]: ERROR: send2child: send_fd failed for 0x7ff3c82b3bb8 (flags 0x4018), fd 19</div></div><div><br></div></div>
</blockquote></div><br></div>