On 03.09.19 10:53, Daniel-Constantin Mierla wrote:
On 03.09.19 09:54, Juha Heinanen wrote:
Juha Heinanen writes:
Here is two traps taken about 8 minutes apart during the same freeze:
https://box.tutpro.com/tmp/gdb_kamailio_20190902_120249 https://box.tutpro.com/tmp/gdb_kamailio_20190902_121032
During the freeze, it was possible to make MySQL queries to accounting table using mysql cli command.
Looks like 8 UDP receivers are waiting for futexlock and 8 are in udp_rcv_loop. Those that are waiting for the lock are processing the same reply. Same in both traps.
There is also mysql ping going on by timer process.
The mysql client library is stuck, waiting for a poll event to happen. It is the insert done for accounting on SIP response.
It is hard to say what is the reason, maybe you can install the debug symbols for lib mysql client library and the the backtrace shows details of what happens inside the library. The mysql modules was not significantly touched for a long time, so might be something specific for lib mysql (mariadb) client.
Cheers, Daniel