I assume this was mistakenly replied in the wrong thread, instead of the message with subject: [SR-Users] crash when sending reply.
With the async insert for acc module, the reply should have been released quickly, not waiting in the SIP worker process for insert to happen. Could you see the response being sent out in the sip traces before the crash?
Cheers, Daniel
On 02.07.21 19:54, Juha Heinanen wrote:
Syslog showed many mysql/accounting related error between the time the response arrived to proxy and when proxy crashed (example below). So perhaps accounting failure delayed processing of the reply. pp Don't know the reason for the myslq problems.
-- Juha
Jul 2 06:06:51 rox2 /usr/bin/sip-proxy[21315]: ERROR: db_mysql [km_dbase.c:122] : db_mysql_submit_query(): driver error on query: Lost connection to MySQL serve r during query (2013) Jul 2 06:06:51 rox2 /usr/bin/sip-proxy[21315]: ERROR: db_mysql [km_dbase.c:145] : db_mysql_async_exec_task(): failed to execute query [insert into `accounting` (`method`,`from_tag`,`to_tag`,`callid`,`response_code`,`response_reason`,`t] on async worker