summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/glusterfs.h
diff options
context:
space:
mode:
authorMilind Changire <mchangir@redhat.com>2018-10-25 14:03:07 +0530
committerAtin Mukherjee <amukherj@redhat.com>2018-10-25 13:39:21 +0000
commit0e7929ef0272a95e5d24a23f15de3a0bb88a094c (patch)
tree484dff8f81a5bfde901031abedfd301b0133d215 /libglusterfs/src/glusterfs.h
parent053b1309dc8fbc05fcde5223e734da9f694cf5cc (diff)
glusterd: raise default transport.listen-backlog
Problem: data center setups with large number of bricks with replication causes a flood of connections from bricks and self-heal daemons to glusterd causing connections to be dropped due to insufficient listener socket backlog queue length Solution: raise default value of transport.listen-backlog to 1024 Change-Id: I879e4161a88f1e30875046dff232499a8e2e6c51 fixes: bz#1642850 Signed-off-by: Milind Changire <mchangir@redhat.com>
Diffstat (limited to 'libglusterfs/src/glusterfs.h')
-rw-r--r--libglusterfs/src/glusterfs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libglusterfs/src/glusterfs.h b/libglusterfs/src/glusterfs.h
index 1ebe2d8d1cd..90bef74c4c3 100644
--- a/libglusterfs/src/glusterfs.h
+++ b/libglusterfs/src/glusterfs.h
@@ -89,7 +89,7 @@
#define GF_OFF_MAX ((1ULL << (sizeof(off_t) * 8 - 1)) - 1ULL)
#define GLUSTERD_MAX_SNAP_NAME 255
-#define GLUSTERFS_SOCKET_LISTEN_BACKLOG 10
+#define GLUSTERFS_SOCKET_LISTEN_BACKLOG 1024
#define SLEN(str) (sizeof(str) - 1)