BIND 10 #2136: update the stats daemon according to the new statistics model

BIND 10 Development do-not-reply at isc.org
Thu Jul 26 22:04:29 UTC 2012


#2136: update the stats daemon according to the new statistics model
-------------------------------------+-------------------------------------
                   Reporter:         |                 Owner:  UnAssigned
  naokikambe                         |                Status:  reviewing
                       Type:         |             Milestone:
  enhancement                        |  Sprint-20120731
                   Priority:         |            Resolution:
  medium                             |             Sensitive:  0
                  Component:         |           Sub-Project:  DNS
  statistics                         |  Estimated Difficulty:  8? (depends
                   Keywords:         |  on #2135)
            Defect Severity:  N/A    |           Total Hours:  0
Feature Depending on Ticket:         |
        Add Hours to Ticket:  0      |
                  Internal?:  0      |
-------------------------------------+-------------------------------------

Comment (by jinmei):

 In my environment where ulimit -n = 256, some tests failed (perhaps
 partially) due to 'Too many open files':
 {{{
 ======================================================================
 ERROR: test_xsl_handler (__main__.TestStatsHttpd)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/Users/jinmei/src/isc/git/bind10-2136/src/bin/stats/tests/b10
 -stats-httpd_test.py", line 651, in setUp
   File
 "/Users/jinmei/src/isc/git/bind10-2136/src/bin/stats/tests/test_utils.py",
 line 467, in __init__
   File
 "/Users/jinmei/src/isc/git/bind10-2136/src/bin/stats/tests/test_utils.py",
 line 64, in __init__
   File
 "/Users/jinmei/src/isc/git/bind10-2136/src/bin/stats/tests/test_utils.py",
 line 104, in __init__
   File "/Users/jinmei/src/isc/git/bind10-2136/src/bin/msgq/msgq.py", line
 195, in setup
   File "/Users/jinmei/src/isc/git/bind10-2136/src/bin/msgq/msgq.py", line
 168, in setup_listener
   File "/usr/local/Cellar/python3/3.2.3/lib/python3.2/socket.py", line 94,
 in __init__
 socket.error: [Errno 24] Too many open files
 }}}

 Increasing the ulimit worked as a work around, but I guess there are
 actually FD leaks in the test or stat related code.  They should
 better be plugged.

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


More information about the bind10-tickets mailing list