[asterisk-bugs] [JIRA] (ASTERISK-24533) 2 threads created per chan_sip entry

xrobau (JIRA) noreply at issues.asterisk.org
Mon Nov 17 20:37:29 CST 2014


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

xrobau commented on ASTERISK-24533:
-----------------------------------

Comp

Asterisk SVN-branch-13-r428145
[root at localhost asterisk]# ps -eLf | grep /usr/sbin/ast | wc -l
1065
[root at localhost asterisk]# 

Asterisk SVN-branch-13-r428145 WITH STASIS-THREADPOOL
[root at localhost asterisk]# ps -eLf | grep /usr/sbin/ast | wc -l
577
[root at localhost asterisk]#

Note that enabling/disabling mailbox makes no difference to the threadcount now, it stays at 577 with or without the mailbox= line in sip.conf.




> 2 threads created per chan_sip entry
> ------------------------------------
>
>                 Key: ASTERISK-24533
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24533
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/General
>    Affects Versions: 13.0.0
>         Environment: FreePBX Distro standard 13
>            Reporter: xrobau
>            Assignee: xrobau
>         Attachments: backtrace-with-mailbox.txt, backtrace-without-mailbox.txt, sip_additional.conf, stasis-threadpool-13.diff
>
>
> When creating a chan_sip entry, it appears that in 13, a thread is being created for each entry, as well as a thread for every mailbox.
> This is unexpectedly large, and is a regression from 11 and 12, where the thread count was around 40 to 60 for the same number of entries.



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



More information about the asterisk-bugs mailing list