summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGaurav Kumar Garg <garg.gaurav52@gmail.com>2015-12-03 17:41:13 +0530
committerVijay Bellur <vbellur@redhat.com>2015-12-03 11:22:29 -0800
commit49a40cb3b9a776b6c69a57e557a6fb80f7ac3a40 (patch)
tree5f785cb2aea99293750bf80d5a5a68bf0e451824
parent21b32ba1430e4a0e664423a4a7bf038a2da428bc (diff)
glusterd: disable ping timer b/w glusterd and make epoll thread count to 1
This patch is backport of: http://review.gluster.org/#/c/12874/ 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> Change-Id: Ifbe9b43a361c5409b707539f0ee831c610a5c36b BUG: 1288060 Signed-off-by: Gaurav Kumar Garg <ggarg@redhat.com> Reviewed-on: http://review.gluster.org/12875 Tested-by: Gluster Build System <jenkins@build.gluster.com> Tested-by: NetBSD Build System <jenkins@build.gluster.org> Reviewed-by: Vijay Bellur <vbellur@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