[Kamailio-Users] tcp_blocking_connect related errors and Kamailio using 100% CPU

Daniel-Constantin Mierla miconda at gmail.com
Fri Jan 29 21:05:48 CET 2010



On 1/29/10 8:40 PM, Zunnun wrote:
> I have also found this problem with 1.5.3. Modified Kamailio's source code to
> fix that problem. Now I don't have this problem.
>    

can you send a patch? I will check it and commit it to svn if all ok.

Thanks,
Daniel


> Pascal Maugeri wrote:
>    
>> Hi
>>
>> Using Kamailio 1.5 we periodically get the following errors:
>>
>> Jul  1 09:54:41 localhost /usr/local/sbin/openser[3836]:
>> ERROR:core:tcp_blocking_connect: poll error: flags 18
>> Jul  1 09:54:41 localhost /usr/local/sbin/openser[3836]:
>> ERROR:core:tcp_blocking_connect: failed to retrieve SO_ERROR (110)
>> Connection timed out
>> Jul  1 09:54:41 localhost /usr/local/sbin/openser[3836]:
>> ERROR:core:tcpconn_connect: tcp_blocking_connect failed
>> Jul  1 09:54:41 localhost /usr/local/sbin/openser[3836]:
>> ERROR:core:tcp_send: connect failed
>> Jul  1 09:54:41 localhost /usr/local/sbin/openser[3836]:
>> ERROR:tm:msg_send:
>> tcp_send failed
>>
>> They are several emails in this mailing list explaining we should play
>> with
>> tcp parameters. I will try to change my configuration and see if we can
>> solve this issue.
>>
>> But when this kind of error happen we observe that the kamailio processes
>> are using 100% of CPU (top).
>>
>> Our client is using SIP over TCP only (no UDP).
>>
>> Do you have any hint on how to configure Kamailio to improve TCP support ?
>> Is it normal to kamailio processes to overload CPU ?
>>
>> Regards,
>> Pascal
>>
>> _______________________________________________
>> Kamailio (OpenSER) - Users mailing list
>> Users at lists.kamailio.org
>> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
>> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
>>
>>      
>    

-- 
Daniel-Constantin Mierla
* http://www.asipto.com/





More information about the sr-users mailing list