Re: named



I had a look and followed the suggestions in the bug comments, but it doesn't seem to help at all.

Thanks for the help though!

Scott

On 4 Apr 2012, at 17:41, Kevin Martin <kevintm@xxxxxxxxxxxxx> wrote:



On 04/04/2012 09:29 AM, Scott van Looy wrote:
Hoping this might help someone debug my issue…

I attached a strace:
strace -f -p 1747 -o trace.txt

Left it running for around 10 seconds and got 34Mb of log that's all pretty much this:

1751 epoll_wait(9, <unfinished ...>
1750 futex(0x7f8148e22028, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
1749 futex(0x7f8148e22028, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
1748 futex(0x7f8148e2108c, FUTEX_WAIT_PRIVATE, 4692676, NULL <unfinished ...>
1747 rt_sigsuspend([] <unfinished ...>
1750 <... futex resumed> ) = 0
1749 <... futex resumed> ) = -1 EAGAIN (Resource temporarily unavailable)
1748 <... futex resumed> ) = -1 EAGAIN (Resource temporarily unavailable)
1750 futex(0x7f8148e22078, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
1749 futex(0x7f8148e22078, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
1748 futex(0x7f8148e2108c, FUTEX_WAIT_PRIVATE, 4692677, NULL <unfinished ...>
1750 <... futex resumed> ) = 0
1749 <... futex resumed> ) = -1 EAGAIN (Resource temporarily unavailable)
1750 futex(0x7f8148e2207c, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 15836521, {1333549881, 89699000}, ffffffff <unfinished ...>
1749 futex(0x7f8148e2207c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x7f8148e22078, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1} <unfinished ...>
1750 <... futex resumed> ) = -1 EAGAIN (Resource temporarily unavailable)
1749 <... futex resumed> ) = 0
1750 futex(0x7f8148e22028, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
1749 futex(0x7f8148e22028, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
1750 <... futex resumed> ) = 0
1749 <... futex resumed> ) = 0
1750 futex(0x7f8148e22078, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
1749 futex(0x7f8148e22078, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
1750 <... futex resumed> ) = 0
1749 <... futex resumed> ) = -1 EAGAIN (Resource temporarily unavailable)
1750 futex(0x7f8148e2207c, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 15836523, {1333549881, 89699000}, ffffffff <unfinished ...>
1749 futex(0x7f8148e2207c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x7f8148e22078, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1} <unfinished ...>
1750 <... futex resumed> ) = -1 EAGAIN (Resource temporarily unavailable)
1749 <... futex resumed> ) = 0
1750 futex(0x7f8148e2108c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x7f8148e21088, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1} <unfinished ...>
1749 futex(0x7f8148e2108c, FUTEX_WAIT_PRIVATE, 4692678, NULL <unfinished ...>
1750 <... futex resumed> ) = 1
1749 <... futex resumed> ) = -1 EAGAIN (Resource temporarily unavailable)
1748 <... futex resumed> ) = 0
1750 futex(0x7f8148e21028, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
1749 futex(0x7f8148e2108c, FUTEX_WAIT_PRIVATE, 4692679, NULL <unfinished ...>
1748 futex(0x7f8148e21028, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
1750 <... futex resumed> ) = 0
1748 <... futex resumed> ) = -1 EAGAIN (Resource temporarily unavailable)
1750 futex(0x7f8148e22028, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
trace.txt

On 4 Apr 2012, at 11:54, Scott van Looy <scott@xxxxxxxxxxx> wrote:

I have a bit of an odd issue, in that when I start named, it sits using around 95% of CPU.
I've changed nothing lately that I'm aware of, and the logs don't seem to show anything odd happening.

Does anyone have any pointers on debugging this?
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
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
Did you look at this:

https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=709205

Kevin

--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
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