From 49a40cb3b9a776b6c69a57e557a6fb80f7ac3a40 Mon Sep 17 00:00:00 2001 From: Gaurav Kumar Garg Date: Thu, 3 Dec 2015 17:41:13 +0530 Subject: 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 Change-Id: Ifbe9b43a361c5409b707539f0ee831c610a5c36b BUG: 1288060 Signed-off-by: Gaurav Kumar Garg Reviewed-on: http://review.gluster.org/12875 Tested-by: Gluster Build System Tested-by: NetBSD Build System Reviewed-by: Vijay Bellur --- extras/glusterd.vol.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'extras/glusterd.vol.in') 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 -- cgit