diff options
author | Vijay Bellur <vbellur@redhat.com> | 2017-05-19 13:48:47 +0530 |
---|---|---|
committer | Prasanna Kumar Kalever <prasanna.kalever@redhat.com> | 2017-05-19 15:06:31 +0530 |
commit | 804ce8e7b26dbf84a6f788627ee6d80fe6e10188 (patch) | |
tree | 7c56ab2d3023ae812b7fb861a130c99db2d87d4e /docs | |
parent | 1fb184fda4d26e03184e68a1a7e22fed1dd6dfd6 (diff) |
gluster-blockd: use SO_REUSEADDR on bind
Currently immediate restarts of gluster-blockd failsi with:
[1495181620] ERROR: bind on port 24006 failed (Address already in use)
Since the closed socket connection is still in TIME_WAIT on 24006
This patch sets socket option SO_REUSEADDR, which allows gluster-blockd to bind
even if socket is in a TIME_WAIT state.
Change-Id: I4e6b3c5d3930e6fca222b11c34b35f883d9be730
Signed-off-by: Vijay Bellur <vbellur@redhat.com>
Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions