etc-config/sysctl.conf

39 lines
1.1 KiB
Plaintext

#fs.nfs.nlm_tcpport = 0
#fs.nfs.nlm_udpport = 0
#kernel.panic = 3
#kernel.pid_max = 999999
kernel.shmmax = 2147483647
#kernel.sysrq = 0
net.bridge.bridge-nf-call-arptables = 0
net.bridge.bridge-nf-call-ip6tables = 0
net.bridge.bridge-nf-call-iptables = 0
net.bridge.bridge-nf-filter-vlan-tagged = 0
#net.ipv4.conf.all.accept_redirects = 0
#net.ipv4.conf.all.accept_source_route = 0
net.ipv4.conf.all.rp_filter = 1
#net.ipv4.conf.all.secure_redirects = 0
#net.ipv4.conf.default.accept_redirects = 0
#net.ipv4.conf.default.accept_source_route = 0
net.ipv4.conf.default.rp_filter = 1
#net.ipv4.conf.default.secure_redirects = 0
#net.ipv4.icmp_echo_ignore_broadcasts = 1
#net.ipv4.ip_dynaddr = 0
net.ipv4.ip_forward = 1
#net.ipv4.tcp_ecn = 0
net.ipv4.tcp_fin_timeout = 30
net.ipv4.tcp_keepalive_time = 1800
net.ipv4.tcp_sack = 0
#net.ipv4.tcp_syncookies = 1
net.ipv4.tcp_timestamps = 0
net.ipv4.tcp_window_scaling = 0
vm.dirty_writeback_centisecs=6000
vm.laptop_mode=5
vm.swappiness = 10
vm.vfs_cache_pressure = 1000
vm.overcommit_memory = 2
vm.overcommit_ratio = 70
vm.dirty_bytes = 1048576
vm.dirty_background_bytes = 1048576
vm.dirty_background_ratio = 10
vm.dirty_ratio = 40