From a6a94ab3278d63eabb4dd8aea410ab861f21b079 Mon Sep 17 00:00:00 2001 From: Vlad Zolotarov Date: Wed, 2 Dec 2015 19:22:21 +0200 Subject: [PATCH] scripts: posix_net_conf.sh: increase some backlog sizes Increase socket listen() and not-yet-acknowledged pending connections backlogs. Signed-off-by: Vlad Zolotarov --- scripts/posix_net_conf.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/posix_net_conf.sh b/scripts/posix_net_conf.sh index 833429bc3..9040f8201 100755 --- a/scripts/posix_net_conf.sh +++ b/scripts/posix_net_conf.sh @@ -203,3 +203,9 @@ fi # Setup XPS setup_xps +# Increase the socket listen() backlog +echo 4096 > /proc/sys/net/core/somaxconn + +# Increase the maximum number of remembered connection requests, which are still +# did not receive an acknowledgment from connecting client. +echo 4096 > /proc/sys/net/ipv4/tcp_max_syn_backlog