That seems to be true.
Still i need to learn a lot, i need your help in optimizing few values to accept the traffic without any problem.
Server is 4 core, 8 thread cpu and 32 GB ram
I changed
fs.file-max
vm.swappiness
vm.dirty_ratio
vm.dirty_background_ratio
net.ipv4.tcp_synack_retries
net.ipv4.ip_local_port_range
net.ipv4.tcp_rfc1337
net.ipv4.tcp_fin_timeout
net.ipv4.tcp_keepalive_time
net.ipv4.tcp_keepalive_probes
net.ipv4.tcp_keepalive_intvl
Server looks good. But i want to go on further to optimize it.
Code: Select all
net.core.rmem_default
net.core.rmem_max
net.core.wmem_default
net.core.wmem_max
net.core.somaxconn
net.core.netdev_max_backlog
net.core.optmem_max
net.ipv4.tcp_mem
net.ipv4.udp_mem
#read and write buffer
net.ipv4.tcp_rmem
net.ipv4.udp_rmem_min
net.ipv4.tcp_wmem
net.ipv4.udp_wmem_min
#DDOS
net.ipv4.tcp_max_tw_buckets
net.ipv4.tcp_tw_recycle
net.ipv4.tcp_tw_reuse
Can you advice any book to read about this to get a better knowledge.
Do you have any suggestion to optimize it now?