[asterisk-bugs] [JIRA] (ASTERISK-29247) Asterisk create too many threads
cagdas kopuz (JIRA)
noreply at issues.asterisk.org
Fri Jan 15 06:49:59 CST 2021
[ https://issues.asterisk.org/jira/browse/ASTERISK-29247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=253509#comment-253509 ]
cagdas kopuz commented on ASTERISK-29247:
-----------------------------------------
There was a limit before, I increased it when I saw that there was an error. My main concern is, there are 5 servers with exactly the same features and settings(simultaneous call, and peer count), but other's thread count is about 2000. Only users are different. What causes the thread count to increase too much? How can i find it?
> Asterisk create too many threads
> --------------------------------
>
> Key: ASTERISK-29247
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-29247
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Resources/General
> Affects Versions: GIT, 16.15.0
> Environment: kubernetes, docker container
> Reporter: cagdas kopuz
> Assignee: cagdas kopuz
> Severity: Minor
> Attachments: threads.txt
>
>
> My asterisk server has about 5000 peer and max 200 calls in rush hours. Sometimes, asterisk write this error to logs,
> {quote}Jan 15 10:51:46 sip asterisk \[3181454\]: ERROR \[3181456\]: threadpool.c: 545 in grow: Unable to start worker thread 734436. Destroying.{quote}
> When this error occurs asterisk can not initiate a new call. Right at this time when I ran the "core show threads" command. Output gives me "18039 threads listed." I use full realtime, chan_sip, AMI in my environment
> extconfig.conf
> queue_log => odbc,proxysql,queue_log,1
> queue_log => odbc,proxysql,queue_log,2
> sipusers => odbc,pbxconf,sip_users,1
> sippeers => odbc,pbxconf,sip_users,1
> voicemail => odbc,pbxconf,voicemail_users,1
> queues => odbc,pbxconf,queues,1
> queue_members => odbc,pbxconf,queue_members,1
> queue_dmembers => odbc,pbxconf,queue_dmembers,1
> extensions => odbc,pbxconf,extensions,1
> extensions_realtime.include => odbc,pbxconf,n23dialplan,1
> extensions.include => odbc,pbxconf,n23dialplan,1
> menus.include => odbc,pbxconf,n23dialplan,1
> schedule.include => odbc,pbxconf,n23dialplan,1
> musiconhold => odbc,pbxconf,musiconhold,1
> musiconhold_entry => odbc,pbxconf,musiconhold_entry,1
> confbridge.conf => odbc,pbxconf,conference,1
> sip.conf
> [general]
> bindport=5060
> nat=force_rport,comedia
> 100rel=required
> rtcachefriends=yes
> rtupdate=yes
> rtautoclear=10
> allowguest=no
> alwaysauthreject=yes
> trustrpid=yes
> sendrpid=yes
> context=from-outside
> allowsubscribe=yes
> callcounter=yes
> videosupport=yes
> avpf=no
> rtptimeout=120
> progressinband=yes
> prematuremedia=no
> defaultexpiry=600
> registertimeout=3600
> minexpiry=108
> maxexpiry=108
> tcpenable=yes
> tcpbindaddr=0.0.0.0
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list