Re: Crazy bearerbox uses 98% CPU
Julien Buratto <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
Jonathan Houser wrote: > > Linkas, > >> I'm running cvs-20050316 >> >> and my PS on a linux gives: >> >> USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND >> root 4621 98.2 0.3 94820 1816 ? S Mar19 2943:00 >> /usr/local/sbin/bearerbox -d /etc/kannel/kannel.conf >> >> That's bad uh ? >> Suggestions ? > > > Generally to track down things like that, assuming it's a sustained > high load, it's useful to use 'gdb'. In the case above you'd call gdb > as follows: 'gdb /usr/local/sbin/bearerbox 4621' :and then you'd do a > 'bt' or backtrace to find out where it's at. In the above command line, > the 4621 is the PID as shown in your output. > > Jon > > Your command gives: #0 0xffffe002 in ?? () #1 0x080c0710 in gwthread_sleep () #2 0x08051df4 in main () #3 0x42015704 in __libc_start_main () from /lib/tls/libc.so.6 Bye Julien