Posts Tagged ‘performance’

Linux Performance Tuning (sysctl.conf)

1. timeout timewait parameter
Determines the time that must elapse before TCP/IP can release a closed connection and reuse its resources.
echo 30 > /proc/sys/net/ipv4/tcp_fin_timeout
2. TCP_KEEPALIVE_INTERVAL
* Description: Determines the wait time between isAlive interval probes.
* How to view or set: Issue the following command to set the value:
echo 15 > /proc/sys/net/ipv4/tcp_keepalive_intvl
3. open file limit
ulimit -a
ulimit -n 8000
4.# [...]