You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If process P has asked for a lock on a resource and is waiting on it because someone else has it and if P exits in the meantime, the daemon crashes as it tries to grant the lock when it is P's turn to acquire it. This is because the daemon server is trying to write to a socket is closed. Here is the error message. I think it can be corrected by using a try catch block.
[E 160519 15:16:27 ioloop:435] Exception in callback <tornado.stack_context._StackContextWrapper object at 0x7f07658fafc8>
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/tornado/ioloop.py", line 421, in _run_callback
callback()
File "/usr/local/lib/python2.7/dist-packages/rdlm/locks_handler.py", line 46, in on_active
self.send_status(201, message="lock acquired at %s" % url, headers={"Location": url})
File "/usr/local/lib/python2.7/dist-packages/rdlm/request_handler.py", line 73, in send_status
"message": message,
File "/usr/local/lib/python2.7/dist-packages/tornado/web.py", line 722, in finish
self.request.finish()
File "/usr/local/lib/python2.7/dist-packages/tornado/httpserver.py", line 422, in finish
self.connection.finish()
File "/usr/local/lib/python2.7/dist-packages/tornado/httpserver.py", line 193, in finish
self._finish_request()
File "/usr/local/lib/python2.7/dist-packages/tornado/httpserver.py", line 229, in _finish_request
self.stream.read_until(b("\r\n\r\n"), self._header_callback)
File "/usr/local/lib/python2.7/dist-packages/tornado/iostream.py", line 153, in read_until
self._try_inline_read()
File "/usr/local/lib/python2.7/dist-packages/tornado/iostream.py", line 388, in _try_inline_read
self._check_closed()
File "/usr/local/lib/python2.7/dist-packages/tornado/iostream.py", line 571, in _check_closed
raise IOError("Stream is closed")
IOError: Stream is closed
The text was updated successfully, but these errors were encountered:
If process P has asked for a lock on a resource and is waiting on it because someone else has it and if P exits in the meantime, the daemon crashes as it tries to grant the lock when it is P's turn to acquire it. This is because the daemon server is trying to write to a socket is closed. Here is the error message. I think it can be corrected by using a try catch block.
[E 160519 15:16:27 ioloop:435] Exception in callback <tornado.stack_context._StackContextWrapper object at 0x7f07658fafc8>
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/tornado/ioloop.py", line 421, in _run_callback
callback()
File "/usr/local/lib/python2.7/dist-packages/rdlm/locks_handler.py", line 46, in on_active
self.send_status(201, message="lock acquired at %s" % url, headers={"Location": url})
File "/usr/local/lib/python2.7/dist-packages/rdlm/request_handler.py", line 73, in send_status
"message": message,
File "/usr/local/lib/python2.7/dist-packages/tornado/web.py", line 722, in finish
self.request.finish()
File "/usr/local/lib/python2.7/dist-packages/tornado/httpserver.py", line 422, in finish
self.connection.finish()
File "/usr/local/lib/python2.7/dist-packages/tornado/httpserver.py", line 193, in finish
self._finish_request()
File "/usr/local/lib/python2.7/dist-packages/tornado/httpserver.py", line 229, in _finish_request
self.stream.read_until(b("\r\n\r\n"), self._header_callback)
File "/usr/local/lib/python2.7/dist-packages/tornado/iostream.py", line 153, in read_until
self._try_inline_read()
File "/usr/local/lib/python2.7/dist-packages/tornado/iostream.py", line 388, in _try_inline_read
self._check_closed()
File "/usr/local/lib/python2.7/dist-packages/tornado/iostream.py", line 571, in _check_closed
raise IOError("Stream is closed")
IOError: Stream is closed
The text was updated successfully, but these errors were encountered: