From 0e7929ef0272a95e5d24a23f15de3a0bb88a094c Mon Sep 17 00:00:00 2001 From: Milind Changire Date: Thu, 25 Oct 2018 14:03:07 +0530 Subject: 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 --- libglusterfs/src/glusterfs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libglusterfs/src/glusterfs.h') 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) -- cgit