Re: [asterisk-users] How to get Asterisk acting like a Multi-thread application?
Hello, I am really appreciate for your help.Thanks alot. Regard Sami From: Tzafrir Cohen tzafrir.co...@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 +, s...@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.co...@xorcom.com +972-50-7952406 mailto:tzafrir.co...@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-- _ -- 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
[asterisk-users] How to get Asterisk acting like a Multi-thread application?
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-- _ -- 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
Re: [asterisk-users] How to get Asterisk acting like a Multi-thread application?
On Sun, Jan 05, 2014 at 11:22:44AM +, s...@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 other helper threads. -- Tzafrir Cohen icq#16849755 jabber:tzafrir.co...@xorcom.com +972-50-7952406 mailto:tzafrir.co...@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
Re: [asterisk-users] How to get Asterisk acting like a Multi-thread application?
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.co...@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 +, s...@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 other helper threads. -- Tzafrir Cohen icq#16849755 jabber:tzafrir.co...@xorcom.com +972-50-7952406 mailto:tzafrir.co...@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-- _ -- 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
Re: [asterisk-users] How to get Asterisk acting like a Multi-thread application?
On Sun, Jan 05, 2014 at 12:20:37PM +, s...@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.co...@xorcom.com +972-50-7952406 mailto:tzafrir.co...@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
Re: [asterisk-users] How to get Asterisk acting like a Multi-thread application?
On Sun, Jan 05, 2014 at 12:20:37PM +, s...@yahoo.com wrote: 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