[OpenSIPS-Users] 100% CPU on MySQL connection lost

Bogdan-Andrei Iancu bogdan at opensips.org
Mon Dec 10 16:49:37 CET 2012


Hi Adam,

What exactly is the "experience" of OpenSIPs in regards to DB? DB simply 
blocks, so whatever query is pushed to DB, opensips will block in waiting ?

Or the DB disconnescts opensips's connections ?

You mentioned both, locking up and reconnect :)

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com


On 12/10/2012 05:00 PM, Adam Raszynski wrote:
> Hi
>
> Tried versions: 1.7.2 and 1.8
>
> I have problem with OpenSIPS taking 100% CPU while trying to reconnect 
> on MySQL connection lost.
>
> I make database backups every night and then for about 15 minutes 
> database is locked during backup procedure to prevent data corruption.
>
> I understand that OpenSIPS is trying to do it's best to reconnect to 
> database, but how to decrease reconnect interval or make it less CPU 
> intensive?
>
> Regards
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20121210/7fc5a54b/attachment.htm>


More information about the Users mailing list