[sr-dev] DB API and connection keepalive

Klaus Darilion klaus.mailinglists at pernau.at
Tue Sep 22 14:20:56 CEST 2009



Jason Penton schrieb:

> I have tested this extensively and can only imageine that because the 
> firewall has closed the connection, the reconnect in mysql doesnt work - 
> because the socket has been torn down underneath mysql (at the OS 
> level). So effectively you see a hangin process in Kamailio up to 5 
> minutes :) which is REALLLLLLLLY bad :D

If the problem is in the mysql client library, it should be fixed there.

Pinging can reduce the problem, but what happens if the TCP connection 
is lost during the ping intervals? Will the pinging hang for 5 minutes?

regards
klaus





More information about the sr-dev mailing list