[SR-Users] Runaway TCP Log

Simon Perreault simon.perreault at viagenie.ca
Mon Mar 18 18:42:03 CET 2013


Le 2013-03-18 18:12, Krishna Kurapati a écrit :
> 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
>
> [...]
>
> Is this an issue with Kamailio or something else?

Yes it's an issue with Kamailio. Any daemon should throttle accept() 
calls when encountering file descriptor exhaustion.

That does not mean that the exhaustion situation you encountered was 
normal in the first place, but at least Kamailio should react correctly. 
Filling the logs or busy-looping are not acceptable.

Simon



More information about the sr-users mailing list