summaryrefslogtreecommitdiff
path: root/configs/samples
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2015-11-02 17:19:21 -0600
committerMark Michelson <mmichelson@digium.com>2015-11-02 17:19:21 -0600
commit6fbffe42e13d82eebd5545de9a74b6a36bd9a558 (patch)
treecdf40d096b9a89a2a47506dc3c49b47c0d60b16e /configs/samples
parent0071a993f0561664d074d461759fc3259bd9c926 (diff)
res_pjsip: Set threadpool max size default to 50.
During a stress test of subscriptions, a huge blast of subscription-related traffic resulted in the threadpool expanding to a ridiculous number of threads. The balooning of threads resulted in an increase of memory, which led to a crash due to being out of memory. An easy fix for the particular test was to limit the size of the threadpool, thus reining in the amount of memory that would be used. It was decided that there really is no downside to having a non-infinite default value for the maximum size of the threadpool, so this change introduces 50 threads as the maximum threadpool size for the SIP threadpool. ASTERISK-25513 #close Reported by John Bigelow Change-Id: If0b9514f1d9b172540ce1a6e2f2ffa1f2b6119be
Diffstat (limited to 'configs/samples')
0 files changed, 0 insertions, 0 deletions