Tagged articles
4 articles
Page 1 of 1
Efficient Ops
Efficient Ops
Aug 15, 2022 · Fundamentals

Why Does TIME_WAIT Accumulate in High‑Concurrency Scenarios and How to Fix It?

Under high‑concurrency loads, massive TIME_WAIT TCP connections can exhaust local ports, causing “address already in use” errors; this article explains the root causes, impact on services, and practical mitigation strategies such as keep‑alive headers, socket reuse, and reducing the TIME_WAIT timeout.

TCPTIME-WAIThigh concurrency
0 likes · 7 min read
Why Does TIME_WAIT Accumulate in High‑Concurrency Scenarios and How to Fix It?
MaGe Linux Operations
MaGe Linux Operations
Sep 28, 2021 · Operations

Why Do TIME_WAIT Connections Accumulate and How to Fix Them?

The article explains why massive TIME_WAIT TCP connections appear during high‑concurrency scenarios, their impact on server ports and new connections, and provides practical analysis and solutions such as keep‑alive headers, socket reuse, and reducing the TIME_WAIT duration.

TCPTIME-WAITnetwork
0 likes · 9 min read
Why Do TIME_WAIT Connections Accumulate and How to Fix Them?
Efficient Ops
Efficient Ops
Jul 6, 2021 · Operations

Mastering TCP TIME-WAIT: When to Optimize and How

This article explains the purpose of the TCP TIME-WAIT state, the scenarios it protects against, common misconceptions, and practical Linux kernel tweaks—such as fast recycle, socket reuse, and tw_buckets settings—to manage TIME-WAIT efficiently on high‑concurrency servers.

LinuxTCPTIME-WAIT
0 likes · 8 min read
Mastering TCP TIME-WAIT: When to Optimize and How