[Freeswitch-users] Using mysql w/odbc getting Lock wait timeout exceeded occassionally for calls, registrations

Robert Hadley robert.hadley at teotech.com
Wed Nov 20 20:10:23 MSK 2013


Hi Freeswitch Users,

I am using recent stable branch, the 1.2.14 release.  I am using mysql with odbc.  I am getting occassional lock wait timeout errors making calls ringing multiple endpoints or even when phones register.

Running on CentOS 5.7 on 4 CPU 8 Thread server.

ODBC has OPTION=67108864 enables batched statements.

2013-11-20 08:58:29.401918 [ERR] switch_odbc.c:514 ERR: [insert into sip_authentication (nonce,expires,profile_name,hostname, last_nc) values('9f3ba9e3-3190-4267-9a41-db18c51ad8e7', 1384970318, 'internal', 'TeoProxy-3.teotechnologies.com', 0)]
[STATE: HY000 CODE 1205 ERROR: [unixODBC][MySQL][ODBC 5.2(w) Driver][mysqld-5.5.30-log]Lock wait timeout exceeded; try restarting transaction]
2013-11-20 08:58:29.401918 [ERR] switch_core_sqldb.c:585 ODBC SQL ERR [STATE: HY000 CODE 1205 ERROR: [unixODBC][MySQL][ODBC 5.2(w) Driver][mysqld-5.5.30-log]Lock wait timeout exceeded; try restarting transaction]
insert into sip_authentication (nonce,expires,profile_name,hostname, last_nc) values('9f3ba9e3-3190-4267-9a41-db18c51ad8e7', 1384970318, 'internal', 'TeoProxy-3.teotechnologies.com', 0)

What is the fix for this please.

Thanks,
Robert


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20131120/12c8f92e/attachment.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list