[asterisk-dev] How can I set the number of threads? limiting number of threads?

Min Lee min.lee at gatech.edu
Fri Oct 22 12:04:45 CDT 2010


Thanks for your help. So I cannot control number of threads really..
Have a good day!
Min

On 10/21/2010 4:02 PM, Russell Bryant wrote:
> On Thu, 2010-10-21 at 15:42 -0400, Min Lee wrote:
>> Hi,
>> Asterisk is highly multithreaded application, and I want to set the number
>> of threads it's spawning. I couldn't find it in configuration file.
>> I'd like to limit the number of threads, or make it single-threaded.
>> How can I limit the number of threads?
>> Should I build it from source code?
>
> You can not limit it.  You can not set to be a single thread.
>
> You can limit the number of calls that are being processed, which as a
> side effect, will limit the number of threads.
>



More information about the asterisk-dev mailing list