BIND 10 #414: huge zone in sqlite3 hangs b10-auth if nxdomain

BIND 10 Development do-not-reply at isc.org
Fri Nov 19 23:56:56 UTC 2010


#414: huge zone in sqlite3 hangs b10-auth if nxdomain
--------------------------+-------------------------------------------------
  Reporter:  jreed        |            Owner:     
      Type:  defect       |           Status:  new
  Priority:  major        |        Milestone:     
 Component:  data source  |         Keywords:     
 Sensitive:  0            |   Estimatedhours:  0  
     Hours:  0            |         Billable:  1  
Totalhours:  0            |         Internal:  0  
--------------------------+-------------------------------------------------
 I don't know yet size of when this is triggered.

 I have a zone.sqlite3 with 100 million entries. If I query for something
 that does not exist, b10-auth hangs. If I kill b10-auth, bind10 will
 restart it and I can do some queries (of labels in the zone).

 If I query for something not in the zone, I get REFUSED (correctly).

 This problem happens with or without caching (-n).

 I straced the hung process for about 10 seconds and got 4951 read and
 lseek lines:

 {{{
 Process 10963 attached - interrupt to quit
 lseek(15, 4249217024, SEEK_SET)         = 4249217024
 read(15,
 "\r\0\0\0\r\0D\0\3\260\3`\3\36\2\334\2\214\2<\1\372\1\270\1h\1\30\0\326\0\224"...,
 1024) = 1024
 lseek(15, 4249220096, SEEK_SET)         = 4249220096
 read(15,
 "\r\0\0\0\r\0D\0\3\260\3n\3,\2\334\2\214\2J\2\10\1\270\1h\1&\0\344\0\224"...,
 1024) = 1024
 lseek(15, 4249222144, SEEK_SET)         = 4249222144
 read(15,
 "\r\0\0\0\r\0R\0\3\276\3|\3,\2\334\2\232\2X\2\10\1\270\1v\0014\0\344\0\224"...,
 1024) = 1024
 lseek(15, 4249224192, SEEK_SET)         = 4249224192
 read(15,
 "\r\0\0\0\r\0R\0\3\276\3n\3\36\2\334\2\232\2J\1\372\1\270\1v\1&\0\326\0\224"...,
 1024) = 1024
 lseek(15, 4249226240, SEEK_SET)         = 4249226240

 ...

 read(15,
 "\r\0\0\0\r\0R\0\3\276\3n\3\36\2\334\2\232\2J\1\372\1\270\1v\1&\0\326\0\224"...,
 1024) = 1024
 lseek(15, 4258495488, SEEK_SET)         = 4258495488
 read(15,
 "\r\0\0\0\r\0D\0\3\260\3`\3\36\2\334\2\214\2<\1\372\1\270\1h\1\30\0\326\0\224"...,
 1024) = 1024
 lseek(15, 4258498560, SEEK_SET)         = 4258498560
 read(15,
 "\r\0\0\0\r\0D\0\3\260\3n\3,\2\334\2\214\2J\2\10\1\270\1h\1&\0\344\0\224"...,
 1024) = 1024
 lseek(15, 4258499584, SEEK_SET)         = 4258499584
 read(15,
 "\r\0\0\0\r\0R\0\3\276\3|\3,\2\334\2\232\2X\2\10\1\270\1v\0014\0\344\0\224"...,
 1024) = 1024
 lseek(15, 4258500608, SEEK_SET)         = 4258500608
 read(15,
 "\r\0\0\0\r\0R\0\3\276\3n\3\36\2\334\2\232\2J\1\372\1\270\1v\1&\0\326\0\224"...,
 1024) = 1024
 Process 10963 detached
 }}}

-- 
Ticket URL: <http://bind10.isc.org/ticket/414>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list