F15: named using 90+% cpu
On 01/07/2012 03:26 PM, sean darcy wrote:
On 01/07/2012 06:07 PM, John Wendel wrote:
On 01/07/2012 10:28 AM, sean darcy wrote:
I've a recursive nameserver under no load taking 90% or more of the
cpu. I've restarted, no joy.
There's an rsync task in the background, but nothing else.
What's going on?
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
12766 named 20 0 237m 27m 2732 S 90.7 2.8 1352:27 named
strace -p <PID>, might give you a clue.
Here's strace. Left it running for about a minute. What could this mean?
strace -p 12766
Process 12766 attached - interrupt to quit
rt_sigsuspend(^C <unfinished ...>
Process 12766 detached
Since it isn't making any system calls (which would show up in strace),
it must be in a tight loop in the code. Time to attach a debugger, but
to get anything meaningful, you would need to be running a version of
the program compiled with debugging enabled. Maybe someone smarter than
me can offer some more useful advice.
users mailing list
To unsubscribe or change subscription options:
Have a question? Ask away: http://ask.fedoraproject.org