[OpenSIPS-Users] Setting opensips for maximum performance
Jan Rozhon
jan.rozhon at gmail.com
Tue Feb 23 10:31:07 CET 2010
Hi Stanislaw,
I ran tests again and watched the statistics, as you advised me, bu
actually I dont understand the data I got from it. Here is what I got in
the middle of the test:
chieftec:~# opensipsctl fifo get_statistics 'shmem:'
shmem:total_size = 33554432
shmem:used_size = 24018088
shmem:real_used_size = 26151984
shmem:max_used_size = 33554432
shmem:free_size = 7402448
shmem:fragments = 36891
Does this means that I have only 32 MB of shared memory? In /etc/default
/opensips I definitely set the value to 3072 MB. Is there some problem
with shared memory then?
Thank you in advance, Jan.
Dne 22.2.2010 12:43, Stanisław Pitucha napsal(a):
> On 22.02.2010 10:16, Jan Rozhon wrote:
>
>> So there is a problem with database as well. Does it mean, that even if
>> system utilization tools (SAR) shows, that only about 1200 MB is used,
>> opensips has run out of memory?
>>
> Opensips preallocates the memory, so system tools won't show you the
> real amount of memory used. To check the status of opensips memory you
> have to get it from the statistics / mi module. Load mi_fifo and run
>
> opensipsctl fifo get_statistics 'shmem:'
>
> Even if you're not really using all of it, fragmentation might kill the
> performance.
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
More information about the Users
mailing list