<p>There is something fishy going on here. I removed t_replicate and the server has been running for six days without getting into trouble.<br>
However when I run kamcmd tm.stats there are 767 waiting transactions, not freed. It's a very basic configuration using the dialog module, the dialog event routes. A few calls, but not much over the weekend. I will try to debug a big harder and find out where these come from.  T_replicate really forced the issue and the server bogged down quickly, but it seems like ordinary calls also get transactions that hang around. That's not good.</p>
<pre><code>
{
        current: 780
        waiting: 767
        total: 792
        total_local: 0
        rpl_received: 1389
        rpl_generated: 339
        rpl_sent: 1514
        6xx: 4
        5xx: 285
        4xx: 172
        3xx: 0
        2xx: 519
        created: 792
        freed: 11
        delayed_free: 0
}

</code></pre>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you commented.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/1220#issuecomment-328437649">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36Zdui42eCgXtyaKo3wRl5RWbqKr73ks5shNzjgaJpZM4PC_1r">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZeLCy6MP0uAmw4aQEXpKbXxhZMH5ks5shNzjgaJpZM4PC_1r.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/1220#issuecomment-328437649"></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":"@oej in #1220: There is something fishy going on here. I removed t_replicate and the server has been running for six days without getting into trouble. \r\nHowever when I run kamcmd tm.stats there are 767 waiting transactions, not freed. It's a very basic configuration using the dialog module, the dialog event routes. A few calls, but not much over the weekend. I will try to debug a big harder and find out where these come from.  T_replicate really forced the issue and the server bogged down quickly, but it seems like ordinary calls also get transactions that hang around. That's not good.\r\n```\r\n\r\n{\r\n\tcurrent: 780\r\n\twaiting: 767\r\n\ttotal: 792\r\n\ttotal_local: 0\r\n\trpl_received: 1389\r\n\trpl_generated: 339\r\n\trpl_sent: 1514\r\n\t6xx: 4\r\n\t5xx: 285\r\n\t4xx: 172\r\n\t3xx: 0\r\n\t2xx: 519\r\n\tcreated: 792\r\n\tfreed: 11\r\n\tdelayed_free: 0\r\n}\r\n\r\n```"}],"action":{"name":"View Issue","url":"https://github.com/kamailio/kamailio/issues/1220#issuecomment-328437649"}}}</script>