|
|
887953 |
From ccac7336bb6fa667b4f9b51426440d898ff3d184 Mon Sep 17 00:00:00 2001
|
|
|
887953 |
From: Milind Changire <mchangir@redhat.com>
|
|
|
887953 |
Date: Mon, 5 Nov 2018 19:38:08 +0530
|
|
|
887953 |
Subject: [PATCH 422/444] glusterd: raise default transport.listen-backlog
|
|
|
887953 |
|
|
|
887953 |
Problem:
|
|
|
887953 |
data center setups with large number of bricks with replication
|
|
|
887953 |
causes a flood of connections from bricks and self-heal daemons
|
|
|
887953 |
to glusterd causing connections to be dropped due to insufficient
|
|
|
887953 |
listener socket backlog queue length
|
|
|
887953 |
|
|
|
887953 |
Solution:
|
|
|
887953 |
raise default value of transport.listen-backlog to 1024
|
|
|
887953 |
|
|
|
887953 |
mainline:
|
|
|
887953 |
> Reviewed-on: https://review.gluster.org/c/glusterfs/+/21482
|
|
|
887953 |
> Change-Id: I879e4161a88f1e30875046dff232499a8e2e6c51
|
|
|
887953 |
> fixes: bz#1642850
|
|
|
887953 |
> Signed-off-by: Milind Changire <mchangir@redhat.com>
|
|
|
887953 |
|
|
|
887953 |
Change-Id: I879e4161a88f1e30875046dff232499a8e2e6c51
|
|
|
887953 |
BUG: 1642854
|
|
|
887953 |
Signed-off-by: Milind Changire <mchangir@redhat.com>
|
|
|
887953 |
Reviewed-on: https://code.engineering.redhat.com/gerrit/154959
|
|
|
887953 |
Tested-by: RHGS Build Bot <nigelb@redhat.com>
|
|
|
887953 |
Reviewed-by: Sunil Kumar Heggodu Gopala Acharya <sheggodu@redhat.com>
|
|
|
887953 |
---
|
|
|
887953 |
libglusterfs/src/glusterfs.h | 2 +-
|
|
|
887953 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
887953 |
|
|
|
887953 |
diff --git a/libglusterfs/src/glusterfs.h b/libglusterfs/src/glusterfs.h
|
|
|
887953 |
index d71a9c1..5e641fd 100644
|
|
|
887953 |
--- a/libglusterfs/src/glusterfs.h
|
|
|
887953 |
+++ b/libglusterfs/src/glusterfs.h
|
|
|
887953 |
@@ -73,7 +73,7 @@
|
|
|
887953 |
#endif
|
|
|
887953 |
|
|
|
887953 |
#define GLUSTERD_MAX_SNAP_NAME 255
|
|
|
887953 |
-#define GLUSTERFS_SOCKET_LISTEN_BACKLOG 10
|
|
|
887953 |
+#define GLUSTERFS_SOCKET_LISTEN_BACKLOG 1024
|
|
|
887953 |
#define ZR_MOUNTPOINT_OPT "mountpoint"
|
|
|
887953 |
#define ZR_ATTR_TIMEOUT_OPT "attribute-timeout"
|
|
|
887953 |
#define ZR_ENTRY_TIMEOUT_OPT "entry-timeout"
|
|
|
887953 |
--
|
|
|
887953 |
1.8.3.1
|
|
|
887953 |
|