#### This is initial state kamailio just restart
```
root@SIP-B03:~# kamcmd core.shmmem
{
total: 536870912
free: 531530384
used: 5295024
real_used: 5340528
max_used: 5340528
fragments: 2
}
```
#### begin test:
issue command `kamcmd.shmmem` within every 0.5 secs
p.s. during the test, fragments sometimes up to 4~5000, but reduced quickly.
```
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
}
```
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/296#issuecomment-135775378