[OpenSER-Users] avp_db_query() timeout

Henning Westerholt henning.westerholt at 1und1.de
Tue Jan 15 18:25:57 CET 2008


On Tuesday 15 January 2008, Bogdan-Andrei Iancu wrote:
> Hi Henning,
>
> The problem is actually in the libmysqlclient library, which deals with
> the TCP connection. I never got into its API, but maybe it pays the
> effort to take a look and see if the TCP timeout is configurable.

Hi Bogdan,

its configurable on kernel level of course. And for recent mysql versions i 
found two parameters (MYSQL_OPT_READ_TIMEOU, ..WRITE..) in the documentation 
http://dev.mysql.com/doc/refman/5.1/en/mysql-options.html

Douglas, perhaps you could try your test server with this options hacked in 
the driver and a recent mysql version? Would be great to know if it works 
this way. :-)

Cheers,

Henning




More information about the Users mailing list