For AIX:
--------------------------------------------------------
no -p -o tcp_timewait=1(15秒)
no -p -o tcp_finwait2=10(5秒)
no -p -o udp_sendspace=32768
no -p -o somaxconn=8192
no -p -o tcp_keepidle=600
no -p -o tcp_keepintvl=10(5秒)
no -p -o tcp_keepinit=40
--------------------------------------------------------
For Solaris:
--------------------------------------------------------
ulimit -a
ulimit -n 8192
ndd -get /dev/tcp tcp_time_wait_interval
ndd -get /dev/tcp tcp_fin_wait_2_flush_interval
ndd -get /dev/tcp tcp_keepalive_interval
ndd -get /dev/tcp tcp_conn_req_max_q
ndd -set /dev/tcp tcp_time_wait_interval 15000
ndd -set /dev/tcp tcp_fin_wait_2_flush_interval 5000
ndd -set /dev/tcp tcp_keepalive_interval 15000
ndd -set /dev/tcp tcp_conn_req_max_q 8000
--------------------------------------------------------
各类操作系统做Web Server 内核参数调整实践
最新推荐文章于 2020-10-22 19:01:58 发布
