New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Established connection timeout and maximum connections recommended?
Hello,
how big timeout do you advice for established connections and what size of connection table you advice to server with 1gbit/s shared line + HDD 7200rpm?
default values on my centos:
net.netfilter.nf_conntrack_tcp_timeout_established = 432000 (5 days!)
net.nf_conntrack_max = 65536
i tweaked this way:
net.netfilter.nf_conntrack_tcp_timeout_established = 86400 (1 day)
net.nf_conntrack_max = 75536
The server is used for most various tasks like hosting, rdp, torrent, rsync large backups, email, ssh proxy
Im curious if i can afford lets say 10 minutes established timeout and lets say 300,000 conntrack max ?
Thx