27 lines
871 B
Plaintext
27 lines
871 B
Plaintext
|
#
|
||
|
# /etc/sysctl.conf - Configuration file for setting system variables
|
||
|
# See sysctl.conf (5) for information.
|
||
|
#
|
||
|
# Be warned that /etc/init.d/procps is executed to set the following
|
||
|
# variables. However, after that, /etc/init.d/networking sets some
|
||
|
# network options with builtin values. These values may be overridden
|
||
|
# using /etc/network/options.
|
||
|
|
||
|
#kernel.domainname = example.com
|
||
|
#net/ipv4/icmp_echo_ignore_broadcasts=1
|
||
|
/proc/sys/net/ipv6/conf/all/forwarding=1
|
||
|
/proc/sys/net/ipv6/conf/default/forwarding=1
|
||
|
vm.swappiness = 0
|
||
|
net.ipv4.tcp_rmem=4096 87380 174760
|
||
|
net.ipv4.tcp_wmem=4096 16384 131072
|
||
|
net.core.somaxconn=1024
|
||
|
net.ipv4.tcp_max_syn_backlog=1024
|
||
|
net.ipv4.tcp_moderate_rcvbuf=1
|
||
|
vm.vfs_cache_pressure=100
|
||
|
vm.overcommit_ratio=0
|
||
|
vm.dirty_background_ratio=2
|
||
|
vm.dirty_ratio=6
|
||
|
vm.dirty_writeback_centisecs=250
|
||
|
vm.dirty_expire_centisecs=1000
|
||
|
vm.min_free_kbytes=16384
|