summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGaurav Kumar Garg <garg.gaurav52@gmail.com>2015-12-03 17:41:13 +0530
committerAtin Mukherjee <amukherj@redhat.com>2015-12-03 20:08:22 -0800
commit976d2902cb191a738853279c8b81ee3721f515b6 (patch)
tree4f87558f136c977a78a964111cb61af186fc86ce
parent875bb10bd261596c43976e67d0660c803ef82301 (diff)
glusterd: disable ping timer b/w glusterd and make epoll thread count to 1
Currently glusterd is crashing when enable/disable heal and i/o is in progress on the fuse mount. This is because of by default multi thread epoll in glusterd is 2. Workaround is to make epoll thread to 1 and set ping-timeout to 0 Change-Id: Ifbe9b43a361c5409b707539f0ee831c610a5c36b BUG: 1288059 Signed-off-by: Gaurav Kumar Garg <ggarg@redhat.com> Reviewed-on: http://review.gluster.org/12874 Tested-by: NetBSD Build System <jenkins@build.gluster.org> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Atin Mukherjee <amukherj@redhat.com>
-rw-r--r--extras/glusterd.vol.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/extras/glusterd.vol.in b/extras/glusterd.vol.in
index 690dbe71823..316104c776a 100644
--- a/extras/glusterd.vol.in
+++ b/extras/glusterd.vol.in
@@ -5,6 +5,7 @@ volume management
option transport.socket.keepalive-time 10
option transport.socket.keepalive-interval 2
option transport.socket.read-fail-log off
- option ping-timeout 30
+ option ping-timeout 0
+ option event-threads 1
# option base-port 49152
end-volume