[SR-Users] problem with create and release tcp connections

Daniel-Constantin Mierla miconda at gmail.com
Thu Dec 29 16:53:33 CET 2011


Hello,

On 12/28/11 2:41 PM, Bruno Bresciani wrote:
> Hi all,
>
> Someone know if the kamailio 1.5.0 has problem to create and release 
> tcp connetctions after some time running? In my SIP network I have six 
> IP telephones and one gateway registered over TLS, after some time 
> (one day) this devices have problems to register and make calls. I 
> noticed through the log a freezing of kamailio when it try release the 
> tcp connections. Below is part of the log where I notice this behavior:
>
> *Dec 28 09:46:46 vts74 /home2/local/kamailio/sbin/kamailio[8951]: 
> DBG:core:io_watch_add: io_watch_add(0x816cc80, 25, 2, 0xb61e6558), 
> fd_no=20
> Dec 28 09:46:46 vts74 /home2/local/kamailio/sbin/kamailio[8951]: 
> DBG:core:handle_tcp_child: cmd CONN_RELEASE  0xb61e6558 refcnt= 0
> Dec 28 09:47:11 vts74 /home2/local/kamailio/sbin/kamailio[8940]: 
> DBG:usrloc:nodb_timer: Binding '2503','sips:2503 at 192.168.174.178 
> <mailto:sips%3A2503 at 192.168.174.178>;transport=tls' has expired
> Dec 28 09:47:26 vts74 /home2/local/kamailio/sbin/kamailio[8951]: 
> DBG:core:handle_tcpconn_ev: data available on 0xb621d710 30
> Dec 28 09:47:26 vts74 /home2/local/kamailio/sbin/kamailio[8951]: 
> DBG:core:io_watch_del: io_watch_del (0x816cc80, 30, -1, 0x0) fd_no=21 
> called*
>
> I know that upgrade to kamailio 3xx is recommended and I'm working to 
> do it, but before, I have to understand this behavior.
TLS was really experimental in 1.x, I don't think anyone here among 
developers is going to sped time troubleshooting it.

General hints, attach with gdb to the pid and do a backtrace to see what 
is doing. Check with netstat the state of the connection, too.

Cheers,
Daniel


-- 
Daniel-Constantin Mierla -- http://www.asipto.com
http://linkedin.com/in/miconda -- http://twitter.com/miconda

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20111229/100af2c7/attachment.htm>


More information about the sr-users mailing list