We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c7009f commit 8eaa628Copy full SHA for 8eaa628
recipes/base_config.rb
@@ -24,12 +24,12 @@
24
end
25
26
# Increase somaxconn and tcp_max_syn_backlog for large scale setting
27
-execute "increase somaxconn" do
28
- command "echo '65535' > /proc/sys/net/core/somaxconn"
+sysctl 'net.core.somaxconn' do
+ value 65535
29
30
31
-execute "increase tcp_max_syn_backlog" do
32
- command "echo '65535' > /proc/sys/net/ipv4/tcp_max_syn_backlog"
+sysctl 'net.ipv4.tcp_max_syn_backlog' do
33
34
35
# Amazon Time Sync
0 commit comments