Current File : //etc/sysctl.d/99-custom.conf
# Para prevenir "Neighbour table overflow"
net.ipv4.neigh.default.gc_thresh1 = 4096
net.ipv4.neigh.default.gc_thresh2 = 8192
net.ipv4.neigh.default.gc_thresh3 = 8192

# Lo mismo para IPv6
net.ipv6.neigh.default.gc_thresh1 = 512
net.ipv6.neigh.default.gc_thresh2 = 1024
net.ipv6.neigh.default.gc_thresh3 = 2048

# No crear archivos core
kernel.core_pattern = /dev/null

# Maximo de conexiones
net.netfilter.nf_conntrack_max = 262144

# Para que no swapee tanto
vm.swappiness = 10

# Reinicio automatico ante un kernel panic
kernel.panic = 10

# Decrease TIME_WAIT seconds
net.ipv4.tcp_fin_timeout = 20

# DON'T Recycle, but Reuse TIME_WAIT sockets faster
net.ipv4.tcp_tw_recycle = 0
net.ipv4.tcp_tw_reuse = 1