[SR-Users] Runaway TCP Log

Krishna Kurapati kkurapat at gmail.com
Mon Mar 18 18:12:03 CET 2013


Hi,

My Log filled to 20G overnight with these


Mar 18 09:59:44 sipprod /usr/local/sbin/kamailio[26157]: ERROR: <core>
[tcp_main.c:4049]: WARNING: handle_new_connect: error while accepting
connection(24): Too many open files
Mar 18 09:59:44 sipprod /usr/local/sbin/kamailio[26157]: ERROR: <core>
[tcp_main.c:4049]: WARNING: handle_new_connect: error while accepting
connection(24): Too many open files
Mar 18 09:59:44 sipprod /usr/local/sbin/kamailio[26157]: ERROR: <core>
[tcp_main.c:4049]: WARNING: handle_new_connect: error while accepting
connection(24): Too many open files^C

I looked at the code segment it is here where it is logging.

       new_sock=accept(si->socket, &(su.s), &su_len);
        if (unlikely(new_sock==-1)){
                if ((errno==EAGAIN)||(errno==EWOULDBLOCK))
                        return 0;
                LOG(L_ERR,  "WARNING: handle_new_connect: error while
accepting"
                                " connection(%d): %s\n", errno,
strerror(errno));
                return -1;
        }


I am using 3.3.x

Is this an issue with Kamailio or something else?

Appreciate any help regarding this matter

Krish Kura
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20130318/1bbc2d2d/attachment.htm>


More information about the sr-users mailing list