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>
This commit is contained in:
Milind Changire 2018-10-25 14:03:07 +05:30 committed by Atin Mukherjee
parent 053b1309dc
commit 0e7929ef02

View File

@ -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)