[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 06:03:25 CST 2020


     [ https://issues.asterisk.org/jira/browse/ASTERISK-28707?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ahmet Hancer updated ASTERISK-28707:
------------------------------------

    Status: Waiting for Feedback  (was: Waiting for Feedback)

I am using Asterisk as a B2BUA without media on Asterisk. My setup as follows:

sipp------------------->*Asterisk*------------------>sipp
with user A             single Dial app              with user B
                                   to user B

I run sipp with 50cps user A to user B

single monitor_thread with epoll is fast enough to deal with load but problem in threadpool taskprocessor. It looks threadpool is waiting for something or blocked for some reason

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