Hmm...my output for getconf GNU_LIBPTHREAD_VERSION is NPTL 2.3.4..
I don't know what it's mean anyway :P

And for Lee, I'm configuring my asterisk through amp (now freepbx), but I do some custom configuration manually too ;)

I guess Paul is right, I suspect there are bugs in asterisk that haven't been solved like "avoiding deadlock on iax" problem which I had mentioned before..

Unfortunately, I don't know how to recreate the problem so all I can do if the problem is happened just do some killall - 9 asterisk :(...

Regads,

Stevanus

Moises Silva wrote:
Thanks for clarifying that Paul. my output for getconf is:

linuxthreads-0.10

so i guess is "normal" to have several threads shown by "ps axu" right?



On 4/17/06, Dave Cotton <[EMAIL PROTECTED]> wrote:
  
On Mon, 2006-04-17 at 19:12 +0200, Paul Hewlett wrote:

    
  This is incorrect. Asterisk is a multithreaded system but how the threads
are handled by the OS  depends on the version of threads that is being used.
   For Linuxthreads (kernel 2.4), one would see a separate entry for each
thread when executing 'ps aux'. For NPTL (linux 2.6) one does not see each
thread as a separate entry. So the OP must tell us which kernel version he is
using. Alternatively type

             getconf  GNU_LIBPTHREAD_VERSION

as root. For NPTL u should get something like

             NPTL 2.3.5

or suchlike.

If you are using NPTL and there is more than one entry for asterisk, then
asterisk has spawned an extra process for some reason. If extra processes
keep appearing then I would say that he has a bug or error somewhere and
asterisk is  respawning that separate process.

      
Are you sure?

root      2532  0.0  0.2   2532   620 ?        S    17:22
0:00 /bin/sh /usr/sbin/safe_asterisk
root      2539  0.0  2.8  17716  7316 ?        S    17:22   0:00
asterisk -n -vvvg -c
root      2542  0.0  2.8  17716  7316 ?        S    17:22   0:00
asterisk -n -vvvg -c
root      2544  0.0  2.8  17716  7316 ?        S    17:22   0:00
asterisk -n -vvvg -c
root      2545  0.0  2.8  17716  7316 ?        S    17:22   0:00
asterisk -n -vvvg -c
root      2546  0.0  2.8  17716  7316 ?        S    17:22   0:00
asterisk -n -vvvg -c
root      2547  0.0  2.8  17716  7316 ?        S    17:22   0:00
asterisk -n -vvvg -c
root      2548  0.0  2.8  17716  7316 ?        S    17:22   0:00
asterisk -n -vvvg -c
root      2549  0.0  2.8  17716  7316 ?        S    17:22   0:00
asterisk -n -vvvg -c
root      2550  0.0  2.8  17716  7316 ?        S    17:22   0:00
asterisk -n -vvvg -c
root      2551  0.0  2.8  17716  7316 ?        S    17:22   0:00
asterisk -n -vvvg -c
root      2552  0.0  2.8  17716  7316 ?        S    17:22   0:00
asterisk -n -vvvg -c
root      2553  0.0  2.8  17716  7316 ?        S    17:22   0:00
asterisk -n -vvvg -c
root      2554  0.0  2.8  17716  7316 ?        S    17:22   0:00
asterisk -n -vvvg -c
root      2555  0.0  2.8  17716  7316 ?        S    17:22   0:00
asterisk -n -vvvg -c
root      2556  0.0  2.8  17716  7316 ?        S    17:22   0:00
asterisk -n -vvvg -c
root      2557  0.0  2.8  17716  7316 ?        S    17:22   0:00
asterisk -n -vvvg -c
root      2558  0.0  2.8  17716  7316 ?        S    17:22   0:00
asterisk -n -vvvg -c
root      2559  0.0  2.8  17716  7316 ?        S    17:22   0:00
asterisk -n -vvvg -c
root      2560  0.0  2.8  17716  7316 ?        S    17:22   0:00
asterisk -n -vvvg -c
root      2561  0.0  2.8  17716  7316 ?        S    17:22   0:00
asterisk -n -vvvg -c
root      2562  0.0  2.8  17716  7316 ?        S    17:22   0:00
asterisk -n -vvvg -c
root      2563  0.0  2.8  17716  7316 ?        S    17:22   0:00
asterisk -n -vvvg -c
root      2564  0.0  2.8  17716  7316 ?        S    17:22   0:01
asterisk -n -vvvg -c
root      2565  0.0  2.8  17716  7316 ?        S    17:22   0:00
asterisk -n -vvvg -c
root      2566  0.0  2.8  17716  7316 ?        S    17:22   0:00
asterisk -n -vvvg -c
root      2567  0.0  2.8  17716  7316 ?        S    17:22   0:00
asterisk -n -vvvg -c

With NPTL 2.3.6

If that is the case * is totally hosed, no?

--
Dave Cotton <[EMAIL PROTECTED]>

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

    


--
"Su nombre es GNU/Linux, no solamente Linux, mas info en http://www.gnu.org"
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

  

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to