[OpenSER-Users] avp_db_query() timeout

Bogdan-Andrei Iancu bogdan at voice-system.ro
Tue Jan 15 18:31:51 CET 2008


Hi Henning,

Thanks for the info - of course hacking kernel cfgs is not a nice 
option, but if the mysql lib allows this via API, it will be wonderful ;)

Regards,
Bogdan

Henning Westerholt wrote:
> 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 sr-users mailing list