Hello Ashwani Raina, Yingchun Lai, Yifan Zhang, Kudu Jenkins, Abhishek Chennaka,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/20797
to look at the new patch set (#3).
Change subject: [rpc] increase listened socket backlog up to 512
......................................................................
[rpc] increase listened socket backlog up to 512
This patch updates the default value for --rpc_acceptor_listen_backlog,
setting it up to 512 by default. This is to help busy Kudu servers
accommodating of larger bursts of incoming requests for new RPC
connections. In addition, a warning message is output into the log
if the setting for the flag is effectively capped by the system-level
limit.
I manually verified that the warning is issued as expected on Linux and
macOS, correspondingly:
--rpc_acceptor_listen_backlog setting 512 is capped at 128 by
/proc/sys/net/core/somaxconn
--rpc_acceptor_listen_backlog setting 512 is capped at 256 by
kern.ipc.somaxconn
Change-Id: Ib6f5791acad6ea0787e23d4c71ab2a7ac4c8c1f2
---
M src/kudu/rpc/acceptor_pool.cc
M src/kudu/rpc/acceptor_pool.h
M src/kudu/rpc/messenger.cc
M src/kudu/rpc/messenger.h
M src/kudu/server/server_base.cc
5 files changed, 135 insertions(+), 13 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/97/20797/3
--
To view, visit http://gerrit.cloudera.org:8080/20797
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ib6f5791acad6ea0787e23d4c71ab2a7ac4c8c1f2
Gerrit-Change-Number: 20797
Gerrit-PatchSet: 3
Gerrit-Owner: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Abhishek Chennaka <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Ashwani Raina <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Yifan Zhang <[email protected]>
Gerrit-Reviewer: Yingchun Lai <[email protected]>