[OpenSIPS-Users] Degrades the performance of opensips after 100k calls

Dipteshkumar Patel diptesh.patel at ecosmob.com
Wed Nov 22 05:25:54 EST 2017


hello Razvan

This is the output of opensips -V

flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, F_MALLOC,
FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
MAX_URI_SIZE 1024, BUF_SIZE 65535
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
git revision: 823044b
main.c compiled on 08:28:39 Nov 22 2017 with gcc 4.8.5

and i am using 100 cps with 1500 concurent calls

result of opensipsctl fifo get_statistics dialog:

dialog:active_dialogs:: 1288
dialog:early_dialogs:: 120
dialog:processed_dialogs:: 7077
dialog:expired_dialogs:: 0
dialog:failed_dialogs:: 14
dialog:create_sent:: 0
dialog:update_sent:: 0
dialog:delete_sent:: 0
dialog:create_recv:: 0
dialog:update_recv:: 0
dialog:delete_recv:: 0


thanks

*Diptesh Patel*
Jr. Software Developer
Ecosmob Technologies Ltd
Ahmedabad
Mo:*+919898962659*

On Wed, Nov 22, 2017 at 2:36 PM, Răzvan Crainea <razvan at opensips.org> wrote:

> So you are seeing ERROR logs regarding memory exhaution, right? If so,
> most likely that's the problem. Can you tell me how many concurrent calls
> you are having? You can find out by running 'opensipsctl fifo
> get_statistics dialog:'.
> Also, what memory alocator are you using? Can you post the output of
> 'opensips -V'?
>
> Best regards,
>
> Răzvan Crainea
> OpenSIPS Developerwww.opensips-solutions.com
>
> On 11/22/2017 07:56 AM, Dipteshkumar Patel wrote:
>
> hello Razvan
>
> Sorry for addressing you as Bogdan.
>
> We found following statistics after making lots of calls
>
> opensipsctl fifo get_statistics shmem:
> shmem:total_size:: 12582912000
> shmem:used_size:: 7009825993193851937
> shmem:real_used_size:: 7009825993216059273
> shmem:max_used_size:: 18446711925787847093
> shmem:free_size:: 11436918093076404343
> shmem:fragments:: 497092
>
> After restarting opensips
>
> opensipsctl fifo get_statistics shmem:
> shmem:total_size:: 12582912000
> shmem:used_size:: 3369296
> shmem:real_used_size:: 3428304
> shmem:max_used_size:: 3435928
> shmem:free_size:: 12579483696
> shmem:fragments:: 1043
>
>
> Thanks
>
>
>
>
>
>
> *Diptesh Patel*
> Jr. Software Developer
> Ecosmob Technologies Ltd
> Ahmedabad
> Mo:*+919898962659*
>
> On Tue, Nov 21, 2017 at 10:46 PM, Răzvan Crainea <razvan at opensips.org>
> wrote:
>
>> So you are not seeing any memory reports, are you?
>> You should also check what opensips is doing when the CPU usage goes up.
>> For example, when the issue occurs, write down the PIDs involved and then
>> do a full gdb snapshot using the 'opensipsctl trap' command. Get this
>> information and send the resulted info here.
>>
>> Best regards,
>>
>> Răzvan Crainea
>> OpenSIPS Developerwww.opensips-solutions.com
>>
>> On 11/21/2017 06:06 PM, Dipteshkumar Patel wrote:
>>
>> hello Bogdan
>>
>> I am using -m 12000 -M 24 at startup.
>>
>> thanks
>>
>>
>>
>> *Diptesh Patel*
>> Jr. Software Developer
>> Ecosmob Technologies Ltd
>> Ahmedabad
>> Mo:*+919898962659*
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>
>
> _______________________________________________
> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20171122/0d8a6ba1/attachment.html>


More information about the Users mailing list