2019/07/03/linux-tuning #111
Replies: 2 comments 2 replies
-
backlog 参数描述的是服务器端 TCP ESTABELLISHED 状态对应的全连接队列长度。 全连接队列长度如何计算? 半连接队列长度如何计算? https://jaminzhang.github.io/linux/understand-Linux-backlog-and-somaxconn-kernel-arguments/ |
Beta Was this translation helpful? Give feedback.
-
对于高并发的短连接应用来说,在没有及时调用accept进行处理时,会导致accept queue队列满。 在队列满的情况下,内核参数/proc/sys/net/ipv4/tcp_abort_on_overflow默认是0,操作系统不会给连接回复RST,而是默默的将ACK丢弃。会导致server对第二个包SYN+ACK进行重传,连接也无法建立。 https://xiking.win/2020/04/21/redis-request-time-cost-troubleshoot/ |
Beta Was this translation helpful? Give feedback.
-
2019/07/03/linux-tuning
https://wanghenshui.github.io/2019/07/03/linux-tuning.html
Beta Was this translation helpful? Give feedback.
All reactions