Skip to main content

Sécurisation et Optimisation du système d'exploitation

Configuration type sysctl

#tunning fs
fs.aio-max-nr = 1048576
fs.file-max = 6815744

#Limit Swap
vm.swappiness = 10

vm.max_map_count = 262144
vm.overcommit_memory = 1

net.core.somaxconn=65535

#Tuning IPV4
net.ipv4.ip_local_port_range = 10000 65500
net.ipv4.tcp_keepalive_time=30
net.ipv4.tcp_keepalive_intvl=30
net.ipv4.tcp_keepalive_probes=10

#disable IP V6
net.ipv6.conf.all.disable_ipv6 = 1

 

Rechargement des fichiers de configuration sysctl

sysctl --system