Alexey Serbin has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/20797


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, 130 insertions(+), 13 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/97/20797/1
--
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: newchange
Gerrit-Change-Id: Ib6f5791acad6ea0787e23d4c71ab2a7ac4c8c1f2
Gerrit-Change-Number: 20797
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <[email protected]>

Reply via email to