<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.6944.0">
<TITLE>Multiple processes</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=2 FACE="Arial">Can someone shed any light on the following. I have 2 identical systems, 1 of which seems to spawn multiple processes which have to be killed manually. It recently kicked up 2 so I ran gdb on them and this is the thread output. I current use FreePBX with these systems.</FONT></P>
<P><FONT SIZE=2 FACE="Arial">1st extra process</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">(gdb) info thread</FONT>
<BR><FONT SIZE=2 FACE="Arial"> 1 Thread 1095261104 (LWP 14213) 0xffffe410 in __kernel_vsyscall ()</FONT>
<BR><FONT SIZE=2 FACE="Arial">(gdb) thread apply all bt</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Thread 1 (Thread 1095261104 (LWP 14213)):</FONT>
<BR><FONT SIZE=2 FACE="Arial">#0 0xffffe410 in __kernel_vsyscall ()</FONT>
<BR><FONT SIZE=2 FACE="Arial">#1 0x4004f13e in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0</FONT>
<BR><FONT SIZE=2 FACE="Arial">#2 0x4004be41 in _L_mutex_lock_191 () from /lib/tls/libpthread.so.0</FONT>
<BR><FONT SIZE=2 FACE="Arial">#3 0x00000001 in ?? ()</FONT>
<BR><FONT SIZE=2 FACE="Arial">#4 0x40e16778 in ?? () from /usr/lib/asterisk/modules/cdr_odbc.so</FONT>
<BR><FONT SIZE=2 FACE="Arial">#5 0x40e16818 in __dso_handle () from /usr/lib/asterisk/modules/cdr_odbc.so</FONT>
<BR><FONT SIZE=2 FACE="Arial">#6 0x00000002 in ?? ()</FONT>
<BR><FONT SIZE=2 FACE="Arial">#7 0x00000000 in ?? ()</FONT>
<BR><FONT SIZE=2 FACE="Arial">#8 0x080a20b7 in ast_cdr_unregister (name=0x40e1455c "ODBC") at lock.h:592</FONT>
<BR><FONT SIZE=2 FACE="Arial">#9 0x40e13299 in odbc_unload_module () at cdr_odbc.c:240</FONT>
<BR><FONT SIZE=2 FACE="Arial">#10 0x40e13978 in reload () at cdr_odbc.c:465</FONT>
<BR><FONT SIZE=2 FACE="Arial">#11 0x0805be32 in ast_module_reload (name=0x0) at loader.c:257</FONT>
<BR><FONT SIZE=2 FACE="Arial">#12 0x080b4623 in hup_handler (num=-4) at asterisk.c:754</FONT>
<BR><FONT SIZE=2 FACE="Arial">#13 <signal handler called></FONT>
<BR><FONT SIZE=2 FACE="Arial">#14 0xffffe410 in __kernel_vsyscall ()</FONT>
<BR><FONT SIZE=2 FACE="Arial">#15 0x401afd99 in sched_setscheduler () from /lib/tls/libc.so.6</FONT>
<BR><FONT SIZE=2 FACE="Arial">#16 0x080b4743 in ast_set_priority (pri=0) at asterisk.c:803</FONT>
<BR><FONT SIZE=2 FACE="Arial">#17 0x40445ee8 in agi_exec_full (chan=0x82782b0, data=<value optimized out>, enhanced=0, dead=0) at res_agi.c:300</FONT>
<BR><FONT SIZE=2 FACE="Arial">#18 0x0808d521 in pbx_extension_helper (c=0x82782b0, con=<value optimized out>, context=0x8278400 "macro-record-enable",</FONT></P>
<P><FONT SIZE=2 FACE="Arial"> exten=0x82784f4 "s", priority=4, label=0x0, callerid=0x8159f38 "01638611111", action=1) at pbx.c:553</FONT>
<BR><FONT SIZE=2 FACE="Arial">#19 0x40c44851 in macro_exec (chan=0x82782b0, data=0x4147c768) at app_macro.c:210</FONT>
<BR><FONT SIZE=2 FACE="Arial">#20 0x0808d521 in pbx_extension_helper (c=0x82782b0, con=<value optimized out>, context=0x8278400 "macro-record-enable",</FONT></P>
<P><FONT SIZE=2 FACE="Arial"> exten=0x82784f4 "s", priority=7, label=0x0, callerid=0x8159f38 "01638611111", action=1) at pbx.c:553</FONT>
<BR><FONT SIZE=2 FACE="Arial">#21 0x40c44851 in macro_exec (chan=0x82782b0, data=0x41482fd8) at app_macro.c:210</FONT>
<BR><FONT SIZE=2 FACE="Arial">#22 0x0808d521 in pbx_extension_helper (c=0x82782b0, con=<value optimized out>, context=0x8278400 "macro-record-enable",</FONT></P>
<P><FONT SIZE=2 FACE="Arial"> exten=0x82784f4 "s", priority=1, label=0x0, callerid=0x8159f38 "01638611111", action=1) at pbx.c:553</FONT>
<BR><FONT SIZE=2 FACE="Arial">#23 0x0808ead4 in __ast_pbx_run (c=0x82782b0) at pbx.c:2227</FONT>
<BR><FONT SIZE=2 FACE="Arial">#24 0x0808f6cc in pbx_thread (data=0x0) at pbx.c:2514</FONT>
<BR><FONT SIZE=2 FACE="Arial">#25 0x4004a297 in start_thread () from /lib/tls/libpthread.so.0</FONT>
<BR><FONT SIZE=2 FACE="Arial">#26 0x401c737e in clone () from /lib/tls/libc.so.6</FONT>
<BR><FONT SIZE=2 FACE="Arial">#27 0x41485bb0 in ?? ()</FONT>
<BR><FONT SIZE=2 FACE="Arial">#0 0xffffe410 in __kernel_vsyscall ()</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">2nd extra process</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">(gdb) info thread</FONT>
<BR><FONT SIZE=2 FACE="Arial"> 1 Thread 1096059824 (LWP 14214) 0xffffe410 in ?? ()</FONT>
<BR><FONT SIZE=2 FACE="Arial">(gdb) thread apply all bt</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Thread 1 (Thread 1096059824 (LWP 14214)):</FONT>
<BR><FONT SIZE=2 FACE="Arial">#0 0xffffe410 in ?? ()</FONT>
<BR><FONT SIZE=2 FACE="Arial">#1 0x41533594 in ?? ()</FONT>
<BR><FONT SIZE=2 FACE="Arial">#2 0x00000002 in ?? ()</FONT>
<BR><FONT SIZE=2 FACE="Arial">#3 0x00000000 in ?? ()</FONT>
<BR><FONT SIZE=2 FACE="Arial">#4 0x4004f13e in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0</FONT>
<BR><FONT SIZE=2 FACE="Arial">#5 0x4004be41 in _L_mutex_lock_191 () from /lib/tls/libpthread.so.0</FONT>
<BR><FONT SIZE=2 FACE="Arial">#6 0x00000001 in ?? ()</FONT>
<BR><FONT SIZE=2 FACE="Arial">#7 0x40e16778 in ?? () from /usr/lib/asterisk/modules/cdr_odbc.so</FONT>
<BR><FONT SIZE=2 FACE="Arial">#8 0x40e16818 in __dso_handle () from /usr/lib/asterisk/modules/cdr_odbc.so</FONT>
<BR><FONT SIZE=2 FACE="Arial">#9 0x00000002 in ?? ()</FONT>
<BR><FONT SIZE=2 FACE="Arial">#10 0x00000000 in ?? ()</FONT>
<BR><FONT SIZE=2 FACE="Arial">#11 0x080a20b7 in ast_cdr_unregister (name=0x40e1455c "ODBC") at lock.h:592</FONT>
<BR><FONT SIZE=2 FACE="Arial">#12 0x40e13299 in odbc_unload_module () at cdr_odbc.c:240</FONT>
<BR><FONT SIZE=2 FACE="Arial">#13 0x40e13978 in reload () at cdr_odbc.c:465</FONT>
<BR><FONT SIZE=2 FACE="Arial">#14 0x0805be32 in ast_module_reload (name=0x0) at loader.c:257</FONT>
<BR><FONT SIZE=2 FACE="Arial">#15 0x080b4623 in hup_handler (num=-4) at asterisk.c:754</FONT>
<BR><FONT SIZE=2 FACE="Arial">#16 <signal handler called></FONT>
<BR><FONT SIZE=2 FACE="Arial">#17 0xffffe410 in ?? ()</FONT>
<BR><FONT SIZE=2 FACE="Arial">#0 0xffffe410 in ?? ()</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Regards</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Lee</FONT>
</P>
###########################################<br><br>This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.<br>For more information, connect to http://www.f-secure.com/</BODY>
</HTML>