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

sami@yahoo.com samiramhosseini at yahoo.com
Mon Jan 6 02:26:10 CST 2014


Hello,
I am really appreciate for your help.Thanks alot.

 
Regard 
Sami


________________________________
 From: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
To: asterisk-users at lists.digium.com 
Sent: Sunday, 5 January 2014, 17:13:43
Subject: Re: [asterisk-users] How to get Asterisk acting like a Multi-thread application?
 

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

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140106/32ca0f1f/attachment.html>


More information about the asterisk-users mailing list