BIND 10 #657: listen_on for b10-auth leads to 100% CPU usage

BIND 10 Development do-not-reply at isc.org
Fri Mar 4 12:50:46 UTC 2011


#657: listen_on for b10-auth leads to 100% CPU usage
-------------------------------------+-------------------------------------
                 Reporter:  jinmei   |                Owner:
                     Type:  defect   |               Status:  new
                 Priority:  blocker  |            Milestone:  A-Team-
                Component:           |  Sprint-20110309
  b10-auth                           |           Resolution:
                 Keywords:           |            Sensitive:  0
Estimated Number of Hours:  0.0      |  Add Hours to Ticket:  0
                Billable?:  1        |          Total Hours:  0
                Internal?:  0        |
-------------------------------------+-------------------------------------

Comment (by jreed):

 I also see this sometimes... notice two scenarios below:

 {{{
 [bind10] Started b10-auth (PID 68789)
 [b10-auth] DNSServices created.
 [bind10] Starting b10-xfrout
 [b10-auth] Configuration session channel created.
 ...
 Setting listen addresses:
  0.0.0.0:53
  127.0.0.1:5300[bind10] Started b10-cmdctl (PID 68794)

 [bind10] BIND 10 started
 Initialize TCP server at 0.0.0.0:53
 Initialize UDP server at 0.0.0.0:53
 Initialize TCP server at 127.0.0.1:5300
 Initialize UDP server at 127.0.0.1:5300
 [b10-auth] Configuration channel established.
 [b10-auth] Xfrin session channel created.
 [b10-auth] Xfrin session channel established.
 [b10-auth] Statistics session channel created.
 [b10-auth] Statistics session channel established.
 Setting listen addresses:
  0.0.0.0:53
  127.0.0.1:5300
 Initialize TCP server at 0.0.0.0:53
 Initialize UDP server at 0.0.0.0:53
 Initialize TCP server at 127.0.0.1:5300
 Initialize UDP server at 127.0.0.1:5300
 [b10-auth] Set statistics timer to 60 seconds

 }}}

 Not sure why above shows the set listen addresses twice. This takes
 b10-auth to 100% cpu.

 But I also have:

 {{{
 [bind10] BIND 10 started
 Setting listen addresses:
  0.0.0.0:53
  127.0.0.1:5300
 Initialize TCP server at 0.0.0.0:53
 Unable to set new address: Failed to initialize network servers:
 Permission denied
 [b10-auth] error: Server configuration failed: Failed to initialize
 network servers: Permission denied
 [b10-auth] Configuration channel established.
 [b10-auth] Xfrin session channel created.
 [b10-auth] Xfrin session channel established.
 [b10-auth] Statistics session channel created.
 [b10-auth] Statistics session channel established.
 Setting listen addresses:
  ::1:5300
  127.0.0.1:5300
 Initialize TCP server at ::1:5300
 Initialize UDP server at ::1:5300
 Initialize TCP server at 127.0.0.1:5300
 Initialize UDP server at 127.0.0.1:5300
 [b10-auth] Set statistics timer to 60 seconds
 [b10-auth] Data source database file:
 /usr/home/jreed/opt/bind10/var/bind10-devel/zone.sqlite3
 [b10-auth] Server started.

 }}}

 Problem: it falls back to default listen addresses and ports. That is
 broken.

 I put into same ticket for now as I believe is related:

 But now it doesn't use high CPU.

-- 
Ticket URL: <https://bind10.isc.org/ticket/657#comment:1>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list