cat /etc/sysctl.conf
net.ipv4.tcp_tw_reuse = 1
net.ipv4.tcp_tw_recycle = 1
net.ipv4.tcp_tw_reuse = 1
net.ipv4.tcp_tw_recycle = 1
net.ipv4.tcp_keepalive_time=1800
sysctl -p
tail conf/httpd.conf
KeepAlive Off
本文介绍了如何通过修改Linux系统的网络参数以及Apache服务器配置来提高服务器性能。具体措施包括启用TCP连接快速重用和回收、调整TCP存活时间,并关闭Apache的KeepAlive功能。
1202

被折叠的 条评论
为什么被折叠?



