[OpenSIPS-Devel] Opensips shmem used size risen

sammy sanms at 126.com
Thu May 26 04:58:36 CEST 2011


Hi,guys!


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.


when Opensips first started, the shmem:used_size is as:
    shmem:total_size = 67108864
    shmem:used_size = 1782640
    shmem:real_used_size = 1809680
    shmem:max_used_size = 1834032
    shmem:free_size = 65299184
    shmem:fragments = 49


when call normal cleared, and i wait for about 20 minute, and shmem:used_size is as:
    shmem:used_size = 1781952
    shmem:real_used_size = 1808928
    shmem:max_used_size = 1834032
    shmem:free_size = 65299936
    shmem:fragments = 52


My opensips is opensips 1.6.2-notls.


there are two questions i do not cleared:
1.Does opensips shmem:used_size can not return to the initial level after call is cleared? Or, perhaps it is a memory leak?
2.If it is a memory leak, i do modify my makefile as http://www.opensips.org/Resources/DocsTsMem , and In my cfg use: 
memlog=1
memdump=1 
debug=4


When i do kill -SIGUSR1 pid_opensips, my mem log is as below:
http://pastebin.com/xxXU6ctR ,not include the alloc detail information as "alloc'd from". 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20110526/b7f473cf/attachment.htm>


More information about the Devel mailing list