Think before you speak, read before you think.

客户端time_wait过多,调整服务端tcp_timestamps

by

in

客户端发送大量 http 请求到服务端

在客户端已经设置了

net.ipv4.tcp_tw_recycle = 1
net.ipv4.tcp_tw_reuse = 1

发现客户端 time_wait 还是过多,后来在服务端设置

sysctl -w net.ipv4.tcp_timestamps=1

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *