To my best knowledge, TCP support in Kamailio is blocking. This has
been addressed for sip-router (tcp_async=yes). Anyway, there are still
some issues for tls.
This is a good argument to switch to sip-router :-)
How many simultaneous TCP connections are you handling? You could try
to limit the max number of connections and check the impact on the CPU
consumption.
Theoretically we're using few simultaneous client connections (<10).
My first intention is to increase tcp_children and to decrease tcp_send_timeout and tcp_connect_timeout.
Do you believe it is a good idea ?
Cheers
Pascal
Cheers,
--
Victor Pascual Ávila