BIND 10 #456: noisy exception when msgq session times out

BIND 10 Development do-not-reply at isc.org
Tue Dec 28 14:08:59 UTC 2010


#456: noisy exception when msgq session times out
---------------------------+------------------------------------------------
  Reporter:  jreed         |            Owner:     
      Type:  defect        |           Status:  new
  Priority:  major         |        Milestone:     
 Component:  Unclassified  |         Keywords:     
 Sensitive:  0             |   Estimatedhours:  0  
     Hours:  0             |         Billable:  1  
Totalhours:  0             |         Internal:  0  
---------------------------+------------------------------------------------
 I had bind10 running and tried to start again. After about five seconds I
 got:

 {{{

  Traceback (most recent call last):
   File "/home/reed/opt/bind10/lib/python3.1/site-
 packages/isc/cc/session.py", line 184, in _receive_full_buffer
     self._receive_len_data()
   File "/home/reed/opt/bind10/lib/python3.1/site-
 packages/isc/cc/session.py", line 144, in _receive_len_data
     new_data = self._receive_bytes(self._recv_len_size)
   File "/home/reed/opt/bind10/lib/python3.1/site-
 packages/isc/cc/session.py", line 130, in _receive_bytes
     data = self._socket.recv(size)
 socket.timeout: timed out

 During handling of the above exception, another exception occurred:

 Traceback (most recent call last):
   File "/home/reed/opt/bind10/sbin/bind10", line 899, in <module>
     main()
   File "/home/reed/opt/bind10/sbin/bind10", line 838, in main
     startup_result = boss_of_bind.startup()
   File "/home/reed/opt/bind10/sbin/bind10", line 535, in startup
     self.cc_session = isc.cc.Session(self.msgq_socket_file)
   File "/home/reed/opt/bind10/lib/python3.1/site-
 packages/isc/cc/session.py", line 57, in __init__
     env, msg = self.recvmsg(False)
   File "/home/reed/opt/bind10/lib/python3.1/site-
 packages/isc/cc/session.py", line 108, in recvmsg
     data = self._receive_full_buffer(nonblock)
   File "/home/reed/opt/bind10/lib/python3.1/site-
 packages/isc/cc/session.py", line 199, in _receive_full_buffer
     raise SessionTimeout("recv() on cc session timed out")
 isc.cc.session.SessionTimeout: recv() on cc session timed out

 }}}

 This is too noisy. It should give a brief and understandable error
 message.

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


More information about the bind10-tickets mailing list