diff options
author | Milind Changire <mchangir@redhat.com> | 2018-04-09 11:26:05 +0530 |
---|---|---|
committer | Raghavendra G <rgowdapp@redhat.com> | 2018-04-13 03:23:47 +0000 |
commit | 31da3f1d8513b10d0449a1855fbad5060bd6191d (patch) | |
tree | 9a91b13f4843ebe4a0d91bf9c11236ace6fe41d3 /rpc/rpc-transport/Makefile.am | |
parent | 1f0765242a689980265c472646c64473a92d94c0 (diff) |
rpc: set listen-backlog to high value
Problem:
On node reboot, when glusterd starts volumes rapidly, there's a flood of
connections from the bricks to glusterd and from the self-heal daemons
to the bricks. This causes SYN Flooding and dropped connections when the
listen-backlog is not enough to hold the pending connections to
compensate for the rate at which connections are accepted by the RPC
layer.
Solution:
Increase the listen-backlog value to 1024. This is a partial solution.
Part of the solution is to rearm the listener socket early for quicker
accept() of connections.
See commit 6964640a977cb10c0c95a94e03c229918fa6eca8 (change 19833)
Change-Id: I62283d1f4990dd43839f9a6932cf8a36effd632c
fixes: bz#1564600
Signed-off-by: Milind Changire <mchangir@redhat.com>
Diffstat (limited to 'rpc/rpc-transport/Makefile.am')
0 files changed, 0 insertions, 0 deletions