[asterisk-bugs] [JIRA] (ASTERISK-28707) Pjsip Threadpool cant handle more than 10 calls per second

Ahmet Hancer (JIRA) noreply at issues.asterisk.org
Tue Jan 21 05:09:25 CST 2020


    [ https://issues.asterisk.org/jira/browse/ASTERISK-28707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=249503#comment-249503 ] 

Ahmet Hancer edited comment on ASTERISK-28707 at 1/21/20 5:09 AM:
------------------------------------------------------------------

Hi,

Actually I am using Asterisk only for SIP signalling so I expect It will be very fast so that can handle 1000cps, single monitor_thread can deal with 200cps but pjsip threadpool(taskprocessor) cannt handle more than 10cps I wonder why even I observe only 2-3 thread are running at a given time. Number of threads increase but mostly majority of them are idle

Regards



was (Author: ahmeth):
Hi,

Actually I am using Asterisk only for SIP signallind so I expect It will be very fast so that can handle 1000cps, single monitor_thread can deal with 200cps but pjsip threadpool(taskprocessor) cannt handle more than 10cps I wonder why even I observe only 2-3 thread are running at a given time. Number of threads increase but mostly majority of them are idle

Regards


> Pjsip Threadpool cant handle more than 10 calls per second
> ----------------------------------------------------------
>
>                 Key: ASTERISK-28707
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28707
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_pjsip
>    Affects Versions: 16.2.0
>         Environment: Linux Centos 7
>            Reporter: Ahmet Hancer
>            Assignee: Ahmet Hancer
>
> Hi,
> Using sipp I run loadtests on Asterisk and I observe If I send 10 calls per second Monitor_thread and pjsip Threadpool(with 200 threads) can handles calls with 30second duration long. But say if I send 50 calls per second using sipp to Asterik I observe monitor_thread can handle it without problem but threadpool cant: I see as monitor_thread processed 1000 calls (new INVITE) while threadpool only processed around 300 calls(New INVITE) and rest are ignored
> I will appreciate if you can help
> Regards



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list