Re: Crazy bearerbox uses 98% CPU
Jonathan Houser <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
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