BIND 10 #2761: CONFIG_SESSION_STOPPING_FAILED error sending stopping message: [Errno 32] Broken pipe on Init shutdown

BIND 10 Development do-not-reply at isc.org
Tue Mar 12 16:21:24 UTC 2013


#2761: CONFIG_SESSION_STOPPING_FAILED error sending stopping message: [Errno 32]
Broken pipe on Init shutdown
-------------------------------------+-------------------------------------
            Reporter:  cas           |                        Owner:
                Type:  defect        |                       Status:  new
            Priority:  medium        |                    Milestone:  Next-
           Component:  bind-ctl      |  Sprint-Proposed
            Keywords:                |                   Resolution:
           Sensitive:  0             |                 CVSS Scoring:
         Sub-Project:  Core          |              Defect Severity:  Low
Estimated Difficulty:  5             |  Feature Depending on Ticket:
         Total Hours:  0             |          Add Hours to Ticket:  0
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------

Comment (by shane):

 I got a related issue on my own server. The b10-xfrin process restarted:

 {{{
 2013-03-11 17:16:12.130 INFO  [b10-xfrin.xfrin/23059]
 XFRIN_XFR_TRANSFER_STARTED IXFR transfer of zone time-
 travellers.nl.eu.org/IN started
 2013-03-11 17:16:12.297 INFO  [b10-xfrin.xfrin/23059]
 XFRIN_IXFR_TRANSFER_SUCCESS incremental IXFR transfer of zone time-
 travellers.nl.eu.org/IN succeeded (messages: 1, changesets: 2, deletions:
 10, additions: 10, bytes: 2223, run time: 0.275 seconds, 8073
 bytes/second)
 2013-03-12 16:39:06.557 ERROR [b10-xfrin.xfrin/23059] XFRIN_UNKNOWN_ERROR
 unknown error: Read of 0 bytes: connection closed
 2013-03-12 16:39:06.643 ERROR [b10-xfrin.config/23059]
 CONFIG_SESSION_STOPPING_FAILED error sending stopping message: [Errno 32]
 Broken pipe
 2013-03-12 16:39:07.058 INFO  [b10-xfrin.xfrin/23059] XFRIN_EXITING
 exiting
 2013-03-12 16:39:07.648 INFO  [b10-init.init/22470] BIND10_PROCESS_ENDED
 process 23059 of b10-xfrin ended with status 0
 2013-03-12 16:39:07.673 ERROR [b10-init.init/22470]
 BIND10_COMPONENT_FAILED component b10-xfrin (pid 23059) failed: process
 exited normally with exit status 0
 2013-03-12 16:39:07.681 INFO  [b10-init.init/22470] BIND10_COMPONENT_START
 component b10-xfrin is starting
 2013-03-12 16:39:07.685 INFO  [b10-init.init/22470]
 BIND10_STARTING_PROCESS starting process b10-xfrin
 }}}

 I dug a bit, and the error message "Read of 0 bytes" comes from
 session.py:

 {{{
 #!python

     def _receive_bytes(self, size):
         """Try to get size bytes of data from the socket.
            Raises a ProtocolError if the size is 0.
            Raises any error from recv().
            Returns whatever data was available (if >0 bytes).
            """
         data = self._socket.recv(size)
         if len(data) == 0: # server closed connection
             raise ProtocolError("Read of 0 bytes: connection closed")
         return data
 }}}

 So... as I said, we need to handle the !ProtocolError exception.

-- 
Ticket URL: <http://bind10.isc.org/ticket/2761#comment:3>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list