Doc: "Linux Settings for High Load Systems" are still valid?

Andrew Beni
Added 12 months ago

in the doc

the are some configs for high load systems

fs.file-max = 360000

net.ipv4.ip_local_port_range = 1024 65000
net.ipv4.tcp_keepalive_time = 60
net.ipv4.tcp_keepalive_probes = 3
net.ipv4.tcp_keepalive_intvl = 90

are still this values valid also with the latest kernels? For example on an Ubuntu 14.04 - 3.13.0-143-generic on a machine with 16GB of RAM the defaults values are:

fs.file-max = 1555280

net.ipv4.ip_local_port_range = 32768    61000
net.ipv4.tcp_keepalive_time = 7200
net.ipv4.tcp_keepalive_probes = 9
net.ipv4.tcp_keepalive_intvl = 75

so for the file-max I have kept the default, ok for ip_local_port_range, for the keepalive this values are still suggested?

Replies (1)

Added by Wojciech Kapcia TigaseTeam 12 months ago

fs.file-max (as well as other settings) are suggested but should always be adjusted to particular needs. However if the defaults are higher then I would leave them as is.
And keepalive is related to detecting broken network sockets so if you require faster detection lowering those values may be needed.