[asterisk-users] How to get Asterisk acting like a Multi-thread application?

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sun Jan 5 07:43:43 CST 2014


On Sun, Jan 05, 2014 at 12:20:37PM +0000, sami at yahoo.com wrote:
> Hello,
> thanks for your reply.
> So if I have 10 active channels I have 10 threads  ?
> How can I get the number of threads that Asterisk is now using or running under?

On my system there are no active channels[1]. I have:

# pidof asterisk
14386

# ls /proc/14386/task
14386  14391  14395  14399  14404  14409  14413  14417  14421  14425 14429
14388  14392  14396  14400  14406  14410  14414  14418  14422  14426 14430
14389  14393  14397  14402  14407  14411  14415  14419  14423  14427 14431
14390  14394  14398  14403  14408  14412  14416  14420  14424  14428 14432

And of coursse: asterisk -rx 'core show threads'


[1] but it's still good enough to get Wesnoth hung:
http://bugs.debian.org/734124

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com



More information about the asterisk-users mailing list