RES: [Asterisk-Users] CDR MySQL

brett at websmyths.com brett at websmyths.com
Thu Oct 6 06:26:56 MST 2005


There is a recent fix to cdr_addon_mysql.c that added 5 retries
and a timeout variable to the conf file.

You might want to try that.

Brett

On 10/6/2005, "Jozeph Brasil" <jozeph at globalmedia.com.br> wrote:

>I don´t have access to MySQL administration! :(
>I´m using a remote database to store...
>
>-----Mensagem original-----
>De: Steve Davies [mailto:davies147 at gmail.com] 
>Enviada em: quinta-feira, 6 de outubro de 2005 09:48
>Para: Jozeph Brasil
>Assunto: Re: [Asterisk-Users] CDR MySQL
>
>The usual "fix" is to reconfigure MySQL - It is the database that is
>causing the timeouts. I do not know how this is done. Perhaps Google
>for "MySQL connection timeout" and go from there?
>
>Regards,
>Steve
>
>On 10/6/05, Jozeph Brasil <jozeph at globalmedia.com.br> wrote:
>> Hi Steve,
>>
>> Thank you for reply! :) Do you know if anyone have been patched to solve
>this?
>>
>> Quoting Steve Davies <davies147 at gmail.com>:
>>
>> > I do not know for sure, but in my experience, the most common cause of
>> > this error is an application which assumes a database connection will
>> > stay open forever.
>> >
>> > Some MySQL installs have a timeout on idle connections. It should be
>> > possible to set this to a very-long or infinite timeout.
>> >
>> > Hope that helps,
>> > Steve
>> >
>
>
>_______________________________________________
>--Bandwidth and Colocation sponsored by Easynews.com --
>
>Asterisk-Users mailing list
>Asterisk-Users at lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-users
>To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>



More information about the asterisk-users mailing list