<p>We have latency logging enabled but there were no abnormally long delays reported. The last lines before the crash are like this:</p>
<pre><code>Apr  5 10:19:39 sipwise1 proxy[11071]: NOTICE: <core> [db_query.c:60]: db_do_submit_query(): alert - query execution too long [375 ms] for [select `received`,`contact`,`socket`
,`cflags`,`pat]
Apr  5 10:19:39 sipwise1 proxy[11072]: NOTICE: <core> [db_query.c:60]: db_do_submit_query(): alert - query execution too long [312 ms] for [select `received`,`contact`,`socket`
,`cflags`,`pat]
Apr  5 10:19:39 sipwise1 proxy[11073]: NOTICE: <core> [db_query.c:60]: db_do_submit_query(): alert - query execution too long [375 ms] for [select `received`,`contact`,`socket`,`cflags`,`pat]
Apr  5 10:19:39 sipwise1 proxy[11069]: NOTICE: <core> [db_query.c:60]: db_do_submit_query(): alert - query execution too long [313 ms] for [select `received`,`contact`,`socket`,`cflags`,`pat]
Apr  5 10:19:39 sipwise1 proxy[11070]: NOTICE: <core> [db_query.c:60]: db_do_submit_query(): alert - query execution too long [312 ms] for [select `received`,`contact`,`socket`,`cflags`,`pat]
Apr  5 10:19:40 sipwise1 proxy[11075]: NOTICE: <core> [db_query.c:60]: db_do_submit_query(): alert - query execution too long [375 ms] for [select `received`,`contact`,`socket`,`cflags`,`pat]
Apr  5 10:19:40 sipwise1 proxy[11074]: NOTICE: <core> [db_query.c:60]: db_do_submit_query(): alert - query execution too long [438 ms] for [select `received`,`contact`,`socket`,`cflags`,`pat]
Apr  5 10:19:40 sipwise1 proxy[11071]: NOTICE: <core> [db_query.c:60]: db_do_submit_query(): alert - query execution too long [375 ms] for [select `received`,`contact`,`socket`,`cflags`,`pat]
Apr  5 10:19:40 sipwise1 proxy[11072]: NOTICE: <core> [db_query.c:60]: db_do_submit_query(): alert - query execution too long [313 ms] for [select `received`,`contact`,`socket`,`cflags`,`pat]
Apr  5 10:19:40 sipwise1 proxy[11073]: NOTICE: <core> [db_query.c:60]: db_do_submit_query(): alert - query execution too long [375 ms] for [select `received`,`contact`,`socket`,`cflags`,`pat]
Apr  5 10:19:41 sipwise1 proxy[11069]: NOTICE: <core> [db_query.c:60]: db_do_submit_query(): alert - query execution too long [312 ms] for [select `received`,`contact`,`socket`,`cflags`,`pat]
Apr  5 10:19:41 sipwise1 proxy[11070]: NOTICE: <core> [db_query.c:60]: db_do_submit_query(): alert - query execution too long [313 ms] for [select `received`,`contact`,`socket`,`cflags`,`pat]
Apr  5 10:19:41 sipwise1 proxy[11075]: NOTICE: <core> [db_query.c:60]: db_do_submit_query(): alert - query execution too long [375 ms] for [select `received`,`contact`,`socket`,`cflags`,`pat]
Apr  5 10:19:42 sipwise1 proxy[11072]: NOTICE: <core> [db_query.c:60]: db_do_submit_query(): alert - query execution too long [312 ms] for [select `received`,`contact`,`socket`,`cflags`,`pat]
Apr  5 10:19:42 sipwise1 proxy[11071]: NOTICE: <core> [db_query.c:60]: db_do_submit_query(): alert - query execution too long [312 ms] for [select `received`,`contact`,`socket`,`cflags`,`pat]
Apr  5 10:19:42 sipwise1 proxy[11074]: NOTICE: <core> [db_query.c:60]: db_do_submit_query(): alert - query execution too long [438 ms] for [select `received`,`contact`,`socket`,`cflags`,`pat]
Apr  5 10:19:42 sipwise1 proxy[11073]: NOTICE: <core> [db_query.c:60]: db_do_submit_query(): alert - query execution too long [375 ms] for [select `received`,`contact`,`socket`,`cflags`,`pat]
Apr  5 10:19:42 sipwise1 proxy[11069]: NOTICE: <core> [db_query.c:60]: db_do_submit_query(): alert - query execution too long [313 ms] for [select `received`,`contact`,`socket`,`cflags`,`pat]
Apr  5 10:19:42 sipwise1 proxy[11070]: NOTICE: <core> [db_query.c:60]: db_do_submit_query(): alert - query execution too long [312 ms] for [select `received`,`contact`,`socket`,`cflags`,`pat]
Apr  5 10:19:43 sipwise1 proxy[11075]: NOTICE: <core> [db_query.c:60]: db_do_submit_query(): alert - query execution too long [375 ms] for [select `received`,`contact`,`socket`,`cflags`,`pat]
Apr  5 10:19:43 sipwise1 proxy[11072]: NOTICE: <core> [db_query.c:60]: db_do_submit_query(): alert - query execution too long [313 ms] for [select `received`,`contact`,`socket`,`cflags`,`pat]
Apr  5 10:19:43 sipwise1 proxy[11071]: NOTICE: <core> [db_query.c:60]: db_do_submit_query(): alert - query execution too long [312 ms] for [select `received`,`contact`,`socket`,`cflags`,`pat]
Apr  5 10:19:43 sipwise1 proxy[11073]: NOTICE: <core> [db_query.c:60]: db_do_submit_query(): alert - query execution too long [375 ms] for [select `received`,`contact`,`socket`,`cflags`,`pat]
Apr  5 10:19:43 sipwise1 proxy[11074]: NOTICE: <core> [db_query.c:60]: db_do_submit_query(): alert - query execution too long [438 ms] for [select `received`,`contact`,`socket`,`cflags`,`pat]
Apr  5 10:19:44 sipwise1 proxy[11069]: NOTICE: <core> [db_query.c:60]: db_do_submit_query(): alert - query execution too long [375 ms] for [select `received`,`contact`,`socket`,`cflags`,`pat]
Apr  5 10:19:44 sipwise1 proxy[11070]: NOTICE: <core> [db_query.c:60]: db_do_submit_query(): alert - query execution too long [313 ms] for [select `received`,`contact`,`socket`,`cflags`,`pat]
Apr  5 10:19:44 sipwise1 proxy[11075]: NOTICE: <core> [db_query.c:60]: db_do_submit_query(): alert - query execution too long [375 ms] for [select `received`,`contact`,`socket`,`cflags`,`pat]
Apr  5 10:19:44 sipwise1 proxy[11056]: ALERT: <core> [main.c:740]: handle_sigs(): child process 11061 exited by a signal 11
Apr  5 10:19:44 sipwise1 proxy[11056]: ALERT: <core> [main.c:743]: handle_sigs(): core was generated
</code></pre>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/1059#issuecomment-292192130">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36ZSrL2U6raGQvFPi1hGEhVeE05rwqks5rtPbWgaJpZM4M0eIN">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZZhYMl61eLyUeS59lPgSnl9VEPzrks5rtPbWgaJpZM4M0eIN.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/kamailio/kamailio/issues/1059#issuecomment-292192130"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/kamailio/kamailio","title":"kamailio/kamailio","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/kamailio/kamailio"}},"updates":{"snippets":[{"icon":"PERSON","message":"@apogrebennyk in #1059: We have latency logging enabled but there were no abnormally long delays reported. The last lines before the crash are like this:\r\n```\r\nApr  5 10:19:39 sipwise1 proxy[11071]: NOTICE: \u003ccore\u003e [db_query.c:60]: db_do_submit_query(): alert - query execution too long [375 ms] for [select `received`,`contact`,`socket`\r\n,`cflags`,`pat]\r\nApr  5 10:19:39 sipwise1 proxy[11072]: NOTICE: \u003ccore\u003e [db_query.c:60]: db_do_submit_query(): alert - query execution too long [312 ms] for [select `received`,`contact`,`socket`\r\n,`cflags`,`pat]\r\nApr  5 10:19:39 sipwise1 proxy[11073]: NOTICE: \u003ccore\u003e [db_query.c:60]: db_do_submit_query(): alert - query execution too long [375 ms] for [select `received`,`contact`,`socket`,`cflags`,`pat]\r\nApr  5 10:19:39 sipwise1 proxy[11069]: NOTICE: \u003ccore\u003e [db_query.c:60]: db_do_submit_query(): alert - query execution too long [313 ms] for [select `received`,`contact`,`socket`,`cflags`,`pat]\r\nApr  5 10:19:39 sipwise1 proxy[11070]: NOTICE: \u003ccore\u003e [db_query.c:60]: db_do_submit_query(): alert - query execution too long [312 ms] for [select `received`,`contact`,`socket`,`cflags`,`pat]\r\nApr  5 10:19:40 sipwise1 proxy[11075]: NOTICE: \u003ccore\u003e [db_query.c:60]: db_do_submit_query(): alert - query execution too long [375 ms] for [select `received`,`contact`,`socket`,`cflags`,`pat]\r\nApr  5 10:19:40 sipwise1 proxy[11074]: NOTICE: \u003ccore\u003e [db_query.c:60]: db_do_submit_query(): alert - query execution too long [438 ms] for [select `received`,`contact`,`socket`,`cflags`,`pat]\r\nApr  5 10:19:40 sipwise1 proxy[11071]: NOTICE: \u003ccore\u003e [db_query.c:60]: db_do_submit_query(): alert - query execution too long [375 ms] for [select `received`,`contact`,`socket`,`cflags`,`pat]\r\nApr  5 10:19:40 sipwise1 proxy[11072]: NOTICE: \u003ccore\u003e [db_query.c:60]: db_do_submit_query(): alert - query execution too long [313 ms] for [select `received`,`contact`,`socket`,`cflags`,`pat]\r\nApr  5 10:19:40 sipwise1 proxy[11073]: NOTICE: \u003ccore\u003e [db_query.c:60]: db_do_submit_query(): alert - query execution too long [375 ms] for [select `received`,`contact`,`socket`,`cflags`,`pat]\r\nApr  5 10:19:41 sipwise1 proxy[11069]: NOTICE: \u003ccore\u003e [db_query.c:60]: db_do_submit_query(): alert - query execution too long [312 ms] for [select `received`,`contact`,`socket`,`cflags`,`pat]\r\nApr  5 10:19:41 sipwise1 proxy[11070]: NOTICE: \u003ccore\u003e [db_query.c:60]: db_do_submit_query(): alert - query execution too long [313 ms] for [select `received`,`contact`,`socket`,`cflags`,`pat]\r\nApr  5 10:19:41 sipwise1 proxy[11075]: NOTICE: \u003ccore\u003e [db_query.c:60]: db_do_submit_query(): alert - query execution too long [375 ms] for [select `received`,`contact`,`socket`,`cflags`,`pat]\r\nApr  5 10:19:42 sipwise1 proxy[11072]: NOTICE: \u003ccore\u003e [db_query.c:60]: db_do_submit_query(): alert - query execution too long [312 ms] for [select `received`,`contact`,`socket`,`cflags`,`pat]\r\nApr  5 10:19:42 sipwise1 proxy[11071]: NOTICE: \u003ccore\u003e [db_query.c:60]: db_do_submit_query(): alert - query execution too long [312 ms] for [select `received`,`contact`,`socket`,`cflags`,`pat]\r\nApr  5 10:19:42 sipwise1 proxy[11074]: NOTICE: \u003ccore\u003e [db_query.c:60]: db_do_submit_query(): alert - query execution too long [438 ms] for [select `received`,`contact`,`socket`,`cflags`,`pat]\r\nApr  5 10:19:42 sipwise1 proxy[11073]: NOTICE: \u003ccore\u003e [db_query.c:60]: db_do_submit_query(): alert - query execution too long [375 ms] for [select `received`,`contact`,`socket`,`cflags`,`pat]\r\nApr  5 10:19:42 sipwise1 proxy[11069]: NOTICE: \u003ccore\u003e [db_query.c:60]: db_do_submit_query(): alert - query execution too long [313 ms] for [select `received`,`contact`,`socket`,`cflags`,`pat]\r\nApr  5 10:19:42 sipwise1 proxy[11070]: NOTICE: \u003ccore\u003e [db_query.c:60]: db_do_submit_query(): alert - query execution too long [312 ms] for [select `received`,`contact`,`socket`,`cflags`,`pat]\r\nApr  5 10:19:43 sipwise1 proxy[11075]: NOTICE: \u003ccore\u003e [db_query.c:60]: db_do_submit_query(): alert - query execution too long [375 ms] for [select `received`,`contact`,`socket`,`cflags`,`pat]\r\nApr  5 10:19:43 sipwise1 proxy[11072]: NOTICE: \u003ccore\u003e [db_query.c:60]: db_do_submit_query(): alert - query execution too long [313 ms] for [select `received`,`contact`,`socket`,`cflags`,`pat]\r\nApr  5 10:19:43 sipwise1 proxy[11071]: NOTICE: \u003ccore\u003e [db_query.c:60]: db_do_submit_query(): alert - query execution too long [312 ms] for [select `received`,`contact`,`socket`,`cflags`,`pat]\r\nApr  5 10:19:43 sipwise1 proxy[11073]: NOTICE: \u003ccore\u003e [db_query.c:60]: db_do_submit_query(): alert - query execution too long [375 ms] for [select `received`,`contact`,`socket`,`cflags`,`pat]\r\nApr  5 10:19:43 sipwise1 proxy[11074]: NOTICE: \u003ccore\u003e [db_query.c:60]: db_do_submit_query(): alert - query execution too long [438 ms] for [select `received`,`contact`,`socket`,`cflags`,`pat]\r\nApr  5 10:19:44 sipwise1 proxy[11069]: NOTICE: \u003ccore\u003e [db_query.c:60]: db_do_submit_query(): alert - query execution too long [375 ms] for [select `received`,`contact`,`socket`,`cflags`,`pat]\r\nApr  5 10:19:44 sipwise1 proxy[11070]: NOTICE: \u003ccore\u003e [db_query.c:60]: db_do_submit_query(): alert - query execution too long [313 ms] for [select `received`,`contact`,`socket`,`cflags`,`pat]\r\nApr  5 10:19:44 sipwise1 proxy[11075]: NOTICE: \u003ccore\u003e [db_query.c:60]: db_do_submit_query(): alert - query execution too long [375 ms] for [select `received`,`contact`,`socket`,`cflags`,`pat]\r\nApr  5 10:19:44 sipwise1 proxy[11056]: ALERT: \u003ccore\u003e [main.c:740]: handle_sigs(): child process 11061 exited by a signal 11\r\nApr  5 10:19:44 sipwise1 proxy[11056]: ALERT: \u003ccore\u003e [main.c:743]: handle_sigs(): core was generated\r\n```"}],"action":{"name":"View Issue","url":"https://github.com/kamailio/kamailio/issues/1059#issuecomment-292192130"}}}</script>