<h4>This is initial state kamailio just restart</h4>

<pre><code>root@SIP-B03:~# kamcmd core.shmmem
{
    total: 536870912
    free: 531530384
    used: 5295024
    real_used: 5340528
    max_used: 5340528
    fragments: 2
}
</code></pre>

<h4>begin test:</h4>

<p>issue command <code>kamcmd.shmmem</code> within every 0.5 secs</p>

<p>p.s. during the test, fragments sometimes up to 4~5000, but reduced quickly.</p>

<pre><code>root@SIP-B03:~# kamcmd core.shmmem
{
    total: 536870912
    free: 2352
    used: 534157344
    real_used: 536868560
    max_used: 536870912
    fragments: 26
}
root@SIP-B03:~# kamcmd core.shmmem
{
    total: 536870912
    free: 1936
    used: 534157760
    real_used: 536868976
    max_used: 536870912
    fragments: 31
}
root@SIP-B03:~# kamcmd core.shmmem
{
    total: 536870912
    free: 1648
    used: 534158216
    real_used: 536869264
    max_used: 536870912
    fragments: 18
}
root@SIP-B03:~# kamcmd core.shmmem
{
    total: 536870912
    free: 696
    used: 534159224
    real_used: 536870216
    max_used: 536870912
    fragments: 13
}
root@SIP-B03:~# kamcmd core.shmmem
{
    total: 536870912
    free: 336
    used: 534159584
    real_used: 536870576
    max_used: 536870912
    fragments: 6
}
root@SIP-B03:~# kamcmd core.shmmem
{
    total: 536870912
    free: 424
    used: 534159440
    real_used: 536870488
    max_used: 536870912
    fragments: 11
}
root@SIP-B03:~# kamcmd core.shmmem
{
    total: 536870912
    free: 1456
    used: 534158464
    real_used: 536869456
    max_used: 536870912
    fragments: 22
}
root@SIP-B03:~# kamcmd core.shmmem
{
    total: 536870912
    free: 280
    used: 534159640
    real_used: 536870632
    max_used: 536870912
    fragments: 8
}
root@SIP-B03:~# kamcmd core.shmmem
{
    total: 536870912
    free: 720
    used: 534159200
    real_used: 536870192
    max_used: 536870912
    fragments: 11
}
root@SIP-B03:~# kamcmd core.shmmem
{
    total: 536870912
    free: 472
    used: 534159560
    real_used: 536870440
    max_used: 536870912
    fragments: 6
}


======APPROXIMATELY BREAK HERE======

root@SIP-B03:~# kamcmd core.shmmem
{
    total: 536870912
    free: 1714168
    used: 532426880
    real_used: 535156744
    max_used: 536870912
    fragments: 111
}
root@SIP-B03:~# kamcmd core.shmmem
{
    total: 536870912
    free: 3521856
    used: 530602896
    real_used: 533349056
    max_used: 536870912
    fragments: 213
}
root@SIP-B03:~# kamcmd core.shmmem
{
    total: 536870912
    free: 5294736
    used: 528814000
    real_used: 531576176
    max_used: 536870912
    fragments: 320
}
root@SIP-B03:~# kamcmd core.shmmem
{
    total: 536870912
    free: 7121304
    used: 526971528
    real_used: 529749608
    max_used: 536870912
    fragments: 436
}
root@SIP-B03:~# kamcmd core.shmmem
{
    total: 536870912
    free: 8955368
    used: 525124920
    real_used: 527915544
    max_used: 536870912
    fragments: 545
}


</code></pre>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/kamailio/kamailio/issues/296#issuecomment-135775378">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZaBC9aGAovXvEqvY6kBPFon2lfweks5osFlKgaJpZM4Fw0dn.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/296#issuecomment-135775378"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>