<span class="Apple-style-span" style="line-height: 25px; ">Hi,guys!</span><div><span class="Apple-style-span" style="line-height: 25px; "><div><br></div><div>When i test one sip call through Opensips with xlite-one(1001) to xlite-two(2001),when call normal cleared, i saw shmem:used_size not same as the initial used size.</div><div><br></div><div>when Opensips first started, the shmem:used_size is as:</div><div><div>&nbsp;&nbsp; &nbsp;shmem:total_size = 67108864</div><div>&nbsp;&nbsp; &nbsp;shmem:used_size = 1782640</div><div>&nbsp;&nbsp; &nbsp;shmem:real_used_size = 1809680</div><div>&nbsp;&nbsp; &nbsp;shmem:max_used_size = 1834032</div><div>&nbsp;&nbsp; &nbsp;shmem:free_size = 65299184</div><div>&nbsp;&nbsp; &nbsp;shmem:fragments = 49</div></div><div><br></div><div>when call normal cleared, and i wait for about 20 minute, and shmem:used_size is as:</div><div><div>&nbsp;&nbsp; &nbsp;shmem:used_size = 1781952</div><div>&nbsp;&nbsp; &nbsp;shmem:real_used_size = 1808928</div><div>&nbsp;&nbsp; &nbsp;shmem:max_used_size = 1834032</div><div>&nbsp;&nbsp; &nbsp;shmem:free_size = 65299936</div><div>&nbsp;&nbsp; &nbsp;shmem:fragments = 52</div></div><div><br></div><div>My opensips is&nbsp;opensips 1.6.2-notls.</div><div><br></div><div>there are two questions i do not cleared:</div><div>1.Does opensips&nbsp;shmem:used_size can not return to the initial level after call is cleared? Or, perhaps it is a memory leak?</div><div>2.If it is a memory leak, i do modify my makefile as&nbsp;<a href="http://www.opensips.org/Resources/DocsTsMem" target="_blank">http://www.opensips.org/Resources/DocsTsMem</a>&nbsp;, and&nbsp;<span class="Apple-style-span" style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; line-height: normal; font-size: 13px; border-collapse: collapse; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; ">In my cfg use:&nbsp;</span></div><div><span class="Apple-style-span" style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; line-height: normal; font-size: 13px; border-collapse: collapse; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; ">memlog=1<br>memdump=1&nbsp;</span></div><div><span class="Apple-style-span" style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; line-height: normal; font-size: 13px; border-collapse: collapse; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; ">debug=4<br><br></span></div><div><span class="Apple-style-span" style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; line-height: normal; font-size: 13px; border-collapse: collapse; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; ">When i do kill -SIGUSR1 pid_opensips, my mem log is as below:</span></div><div><font class="Apple-style-span" face="Verdana, Geneva, Helvetica, Arial, sans-serif" size="2"><span class="Apple-style-span" style="border-collapse: collapse; line-height: normal; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "><a href="http://pastebin.com/xxXU6ctR" target="_blank">http://pastebin.com/xxXU6ctR</a>&nbsp;,not include the alloc detail information&nbsp;</span></font>as "alloc'd from".<font class="Apple-style-span" face="Verdana, Geneva, Helvetica, Arial, sans-serif" size="2"><span class="Apple-style-span" style="border-collapse: collapse; line-height: normal; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; ">&nbsp;</span></font></div></span><br>        
</div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>