JiangHai2011 left a comment (kamailio/kamailio#4437)

I ve tested with the latest commit 52f9a57e1a4a817b7ad0c05b3673daaf8458bc92,  
and found that the busy count is still incorrect when kamailio is in idle state

(gdb) list tcp_main.c:4409
4404               In this case the fd is already closed here (and possible
4405               even replaced by another one with the same number) so it
4406               must not be sent to a reader anymore */
4407            if(unlikely(tcpconn->state == S_CONN_BAD
4408                                    || (tcpconn->flags & 
F_CONN_FD_CLOSED))) {
4409                    tcp_children[idx].busy--;
4410                    tcp_children[idx].n_reqs--;
4411                    return -1;
4412            }
4413    #ifdef SEND_FD_QUEUE
(gdb) p tcp_children[0].busy
$1 = 0
(gdb) p tcp_children[2].busy
$2 = 1360
(gdb) p tcp_children[3].busy
$3 = 615
(gdb) 


-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4437#issuecomment-3539641034
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/issues/4437/[email protected]>
_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to