Tag

socket reuse

0 views collected around this technical thread.

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.

NetworkingTCPTIME_WAIT
0 likes · 7 min read
Why Does TIME_WAIT Accumulate in High‑Concurrency Scenarios and How to Fix It?
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.

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