Re: [SR-Users] Accounting to mysql resulted in segfault

2013-12-05 Thread Daniel Tryba
On Wednesday 04 December 2013 21:02:20 Daniel-Constantin Mierla wrote: > Would be good to get the core and backtrace, otherwise is hard to track > what went wrong. db_mysql discards the query if it is not successful > after three retries. The segfault seem to refer to usrloc, not acc. The > issu

Re: [SR-Users] Accounting to mysql resulted in segfault

2013-12-04 Thread Daniel-Constantin Mierla
Would be good to get the core and backtrace, otherwise is hard to track what went wrong. db_mysql discards the query if it is not successful after three retries. The segfault seem to refer to usrloc, not acc. The issue could be combined with libmysqlclient behaviour, iirc kamailio will try to o

[SR-Users] Accounting to mysql resulted in segfault

2013-12-04 Thread Daniel Tryba
This morning I had the unpleasant realisation that kamailio (4.0.3) crashed twice while I was running an alter statement on the acc table of a live instance. db_mysql [km_dbase.c:122]: db_mysql_submit_query(): driver error on q uery: Too many connections [db_query.c:132]: db_do_query_internal()