Skip to content

Commit

Permalink
scripts: posix_net_conf.sh: increase some backlog sizes
Browse files Browse the repository at this point in the history
Increase socket listen() and not-yet-acknowledged pending connections
backlogs.

Signed-off-by: Vlad Zolotarov <[email protected]>
  • Loading branch information
Vlad Zolotarov committed Dec 3, 2015
1 parent 81f8fc6 commit a6a94ab
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/posix_net_conf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a6a94ab

Please sign in to comment.