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?

sean

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


[snip]

strace -p <PID>, might give you a clue.

John



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

sean

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.

Regards,

John

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to