Bind9 9.8.1 high CPU utilization when managed-keys-directory option is omitted from config
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bind9 (Debian) |
Fix Released
|
Unknown
|
|||
bind9 (Fedora) |
Fix Released
|
High
|
|||
bind9 (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
I'm reporting this here to raise awareness of the bug. I suspect it's the same identical problem reported with Bind9 on Fedora, at: https:/
Basically, with DNSSEC enabled, and the "managed-
Description: Ubuntu 12.04.1 LTS
Release: 12.04
bind9:
Installed: 1:9.8.1.
Candidate: 1:9.8.1.
Version table:
*** 1:9.8.1.
500 http://
500 http://
100 /var/lib/
1:
500 http://
- Daniel
Changed in bind9 (Debian): | |
status: | Unknown → New |
Changed in bind9 (Debian): | |
status: | New → Fix Released |
Changed in bind9 (Fedora): | |
importance: | Unknown → High |
status: | Unknown → Fix Released |
Description of problem:
Just upgraded to bind-9. 7.4-0.1. b1.fc14. i686 and now named chews 100% CPU
all the time.
Version-Release number of selected component (if applicable):
bind-9. 7.4-0.1. b1.fc14. i686
How reproducible:
100%
Steps to Reproduce:
1. /etc/init.d/bind start
2.
3.
Actual results:
top
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
6580 named 20 0 42928 10m 2224 S 97.3 2.1 8:27.28 named
top -H
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
6582 named 20 0 42928 10m 2224 S 49.1 2.1 6:29.20 named
6581 named 20 0 42928 10m 2224 R 48.8 2.1 6:29.40 named
6583 named 20 0 42928 10m 2224 S 0.3 2.1 0:00.06 named
Nothing interesting in syslogs.
Expected results:
should be idle
Additional info:
selinux is enabled in targeted mode
strace/pstack output
# ps -fu named
UID PID PPID C STIME TTY TIME CMD
named 6580 1 94 04:23 ? 00:10:22 /usr/sbin/named -u named
# strace -f -p 6580 {1306816366, 93737}, NULL) = 0 CLOCK_REALTIME, {1306816366, 93890832}) = 0 {1306816366, 94047}, NULL) = 0 {1306816366, 94153}, NULL) = 0 {1306816366, 94227}, NULL) = 0 OP_PRIVATE, 1, 1, 0xb770c048, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1} <unfinished ...> {1306816366, 94720}, NULL) = 0 CLOCK_REALTIME, {1306816366, 94873447}) = 0 {1306816366, 95028}, NULL) = 0 {1306816366, 95098}, NULL) = 0 OP_PRIVATE, 1, 1, 0xb770c048, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1} <unfinished ...> {1306816366, 95573}, NULL) = 0 CLOCK_REALTIME, {1306816366, 95730272}) = 0
[pid 6581] <... futex resumed> ) = 1
[pid 6581] futex(0xb770c018, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
[pid 6582] <... futex resumed> ) = 0
[pid 6582] gettimeofday(
[pid 6582] futex(0xb770c018, FUTEX_WAKE_PRIVATE, 1) = 0
[pid 6582] clock_gettime(
[pid 6582] futex(0xb770c04c, FUTEX_WAIT_PRIVATE, 31268233, {23, 178861168} <unfinished ...>
[pid 6581] <... futex resumed> ) = 1
[pid 6581] gettimeofday(
[pid 6581] gettimeofday(
[pid 6581] gettimeofday(
[pid 6581] futex(0xb770c04c, FUTEX_WAKE_
[pid 6582] <... futex resumed> ) = 0
[pid 6582] futex(0xb770c018, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
[pid 6581] <... futex resumed> ) = 1
[pid 6581] futex(0xb770c018, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
[pid 6582] <... futex resumed> ) = 0
[pid 6582] gettimeofday(
[pid 6582] futex(0xb770c018, FUTEX_WAKE_PRIVATE, 1) = 0
[pid 6582] clock_gettime(
[pid 6582] futex(0xb770c04c, FUTEX_WAIT_PRIVATE, 31268235, {23, 177878553} <unfinished ...>
[pid 6581] <... futex resumed> ) = 1
[pid 6581] gettimeofday(
[pid 6581] gettimeofday(
[pid 6581] futex(0xb770c04c, FUTEX_WAKE_
[pid 6582] <... futex resumed> ) = 0
[pid 6582] futex(0xb770c018, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
[pid 6581] <... futex resumed> ) = 1
[pid 6581] futex(0xb770c018, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
[pid 6582] <... futex resumed> ) = 0
[pid 6582] gettimeofday(
[pid 6582] futex(0xb770c018, FUTEX_WAKE_PRIVATE, 1) = 0
[pid 6582] clock_gettime(
[pid 6582] futex(0xb770c04c, FUTEX_WAIT_PRIVATE, 31268237, {23, 17...