logo
Published on Conunity (http://www.conunity.com)

Optimizing sysctl

By sysman
Created 2008-01-10 22:19

Description

Mainly network based optimization.

Configuration file

Download file [1]

# Max File Handlers
fs.file-max = 8192
# Disable CTR+ALT+DEL Restart Keys
kernel.ctrl-alt-del = 1
# Enable TCP SYN cookie protection
net.ipv4.tcp_syncookies = 1
# Disable ICMP Redirect [1] Acceptance
net.ipv4.conf.all.accept_redirects = 0
# Enable bad error message protection
net.ipv4.icmp_ignore_bogus_error_responses = 1
# Decrease time between keepalives
net.ipv4.tcp_keepalive [1]_time = 1200
# Turn off timestamps
net.ipv4.tcp_timestamps = 0
# Ignore icmp broadcast request
net.ipv4.icmp_echo_ignore_broadcasts = 1
# Decrease the time default value for tcp_fin_timeout [1] connection
net.ipv4.tcp_fin_timeout [1] = 25
# Turn off the tcp_window_scaling
net.ipv4.tcp_window_scaling = 0
# Turn off the tcp_sack
net.ipv4.tcp_sack = 0
# Allow [1] more SYN backlog
net.ipv4.tcp_max_syn_backlog = 1048
# Lower retry rates
net.ipv4.tcp_synack_retries = 2
net.ipv4.tcp_syn_retries = 3

Vote Result
++++++++--
Score: 8.0, Votes: 1

Source URL:
http://www.conunity.com/optimizing_sysctl