VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
samiramhosseini at yah... Guest
|
Posted: Sun Jan 05, 2014 6:23 am Post subject: [asterisk-users] How to get Asterisk acting like a Multi-thr |
|
|
Hello All,
By default, Astersik uses only one thread as processing jobs, Now I need to know how can it will be possible to configuring asterisk as a Multi-thread application?
Do you thinks thread usage is dependent upon the O.S(Operating System) and development tools
(compiler flags and libraries) used to build Asterisk or not?
Any idea will be welcome.
Thanks in advanced.
Regard
Sami |
|
Back to top |
|
|
tzafrir.cohen at xorco... Guest
|
Posted: Sun Jan 05, 2014 6:55 am Post subject: [asterisk-users] How to get Asterisk acting like a Multi-thr |
|
|
On Sun, Jan 05, 2014 at 11:22:44AM +0000, sami@yahoo.com wrote:
Quote: | Hello All,
By default, Astersik uses only one thread as processing jobs, Now I
need to know how can it will be possible to configuring asterisk as
a Multi-thread application?
|
Asterisk is already multi-threaded.
Asterisk generally uses one thread per channel with quite a few other
helper threads.
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen@xorcom.com
+972-50-7952406 mailto:tzafrir.cohen@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 |
|
Back to top |
|
|
samiramhosseini at yah... Guest
|
Posted: Sun Jan 05, 2014 7:20 am Post subject: [asterisk-users] How to get Asterisk acting like a Multi-thr |
|
|
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?
Regard
Sami
From: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
To: asterisk-users@lists.digium.com
Sent: Sunday, 5 January 2014, 15:25:24
Subject: Re: [asterisk-users] How to get Asterisk acting like a Multi-thread application?
On Sun, Jan 05, 2014 at 11:22:44AM +0000, sami@yahoo.com (sami@yahoo.com) wrote:> Hello All,> By default, Astersik uses only one thread as processing jobs, Now I> need to know how can it will be possible to configuring asterisk as> a Multi-thread application?
Asterisk is already multi-threaded.Asterisk generally uses one thread per channel with quite a few otherhelper threads.-- Tzafrir Cohenicq#16849755 jabber:tzafrir.cohen@xorcom.com (tzafrir.cohen@xorcom.com)+972-50-7952406 mailto:tzafrir.cohen@xorcom.com (tzafrir.cohen@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/helloasterisk-users mailing listTo UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
tzafrir.cohen at xorco... Guest
|
Posted: Sun Jan 05, 2014 8:44 am Post subject: [asterisk-users] How to get Asterisk acting like a Multi-thr |
|
|
On Sun, Jan 05, 2014 at 12:20:37PM +0000, sami@yahoo.com wrote:
Quote: | 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@xorcom.com
+972-50-7952406 mailto:tzafrir.cohen@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 |
|
Back to top |
|
|
ecc at cmu.edu Guest
|
Posted: Sun Jan 05, 2014 11:50 am Post subject: [asterisk-users] How to get Asterisk acting like a Multi-thr |
|
|
On Sun, Jan 05, 2014 at 12:20:37PM +0000, sami@yahoo.com wrote:
Quote: | How can I get the number of threads that Asterisk is now using or running under?
|
$ ps -LC asterisk
--
Eric Cooper e c c @ c m u . e d u
--
_____________________________________________________________________
-- 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 |
|
Back to top |
|
|
samiramhosseini at yah... Guest
|
Posted: Mon Jan 06, 2014 3:26 am Post subject: [asterisk-users] How to get Asterisk acting like a Multi-thr |
|
|
Hello,
I am really appreciate for your help.Thanks alot.
Regard
Sami
From: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
To: asterisk-users@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@yahoo.com (sami@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 asterisk14386# ls /proc/14386/task14386 14391 14395 14399 14404 14409 14413 14417 14421 14425 1442914388 14392 14396 14400 14406 14410 14414 14418 14422 14426 1443014389 14393 14397 14402 14407 14411 14415 14419 14423 14427 1443114390 14394 14398 14403 14408 14412 14416 14420 14424 14428 14432And of coursse: asterisk -rx 'core show threads'[1] but it's still good enough to get Wesnoth hung:tzafrir.cohen@xorcom.com (tzafrir.cohen@xorcom.com)+972-50-7952406 mailto:tzafrir.cohen@xorcom.com (tzafrir.cohen@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/helloasterisk-users mailing listTo UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|