[asterisk-dev] How can I set the number of threads? limiting number of threads?
dvossel at digium.com
Thu Oct 21 15:12:30 CDT 2010
----- Original Message -----
> From: "Min Lee" <min.lee at gatech.edu>
> To: "Asterisk Developers Mailing List" <asterisk-dev at lists.digium.com>
> Sent: Thursday, October 21, 2010 2:42:24 PM
> Subject: [asterisk-dev] How can I set the number of threads? limiting number of threads?
> Asterisk is highly multithreaded application, and I want to set the
> 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?
> Any help would be appreciated.
One way to limit the number of threads spawned at startup is to limit what channel drivers/modules you have enabled. For example if you are not using chan_iax, not loading chan_iax will kill off quite a few thread I believe.
Digium, Inc. | Software Developer, Open Source Software
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: www.digium.com & www.asterisk.org
The_Boy_Wonder in #asterisk-dev
More information about the asterisk-dev