Skip to content

[mcrouter] Add an option to tweak listen queue size#135

Closed
pavlo-fb wants to merge 1 commit into
facebook:masterfrom
pavlo-fb:listen-queue-option
Closed

[mcrouter] Add an option to tweak listen queue size#135
pavlo-fb wants to merge 1 commit into
facebook:masterfrom
pavlo-fb:listen-queue-option

Conversation

@pavlo-fb

Copy link
Copy Markdown
Contributor

Add a way to tune TCP listen backlog for standalone mcrouter.
Closes #93

Test plan: run mcrouter with

  strace -fff -e listen,ioctl,network ./mcrouter -f ~/dev/config.jsonc -p 5000 --tcp-listen-backlog 1357

and see

  [pid 18571] listen(23, 1357)            = 0
  [pid 18571] listen(24, 1357)            = 0

in strace output. Without a command line option it uses 128 (the default SOMAXCONN value).

@ghost ghost added the CLA Signed label Jun 22, 2016
@ghost ghost closed this in f506dfc Jul 8, 2016
@pavlo-fb pavlo-fb deleted the listen-queue-option branch July 11, 2016 08:45
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

1 participant