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