Tagged articles
5 articles
Page 1 of 1
Ray's Galactic Tech
Ray's Galactic Tech
Jan 7, 2026 · Backend Development

Why Netty Servers Accumulate CLOSE_WAIT Connections and How to Fix Them

Netty services can accumulate CLOSE_WAIT sockets when the server fails to close its side of the socket, leading to resource exhaustion and potential service collapse; this article explains the TCP state machine, common code pitfalls, kernel tuning, defensive handlers, and a comprehensive checklist to prevent and resolve the issue.

CLOSE_WAITConnection ManagementNetty
0 likes · 8 min read
Why Netty Servers Accumulate CLOSE_WAIT Connections and How to Fix Them
vivo Internet Technology
vivo Internet Technology
Aug 10, 2022 · Backend Development

Why HttpClient Connections Stay in CLOSE_WAIT and How to Fix Them

An in‑depth analysis of a production incident where HttpClient connections accumulated in CLOSE_WAIT, covering symptom identification, TCP state inspection, root‑cause debugging, HttpClient pool internals, and practical configuration tweaks to prevent similar outages.

CLOSE_WAITConnectionPoolHttpClient
0 likes · 16 min read
Why HttpClient Connections Stay in CLOSE_WAIT and How to Fix Them
Qunar Tech Salon
Qunar Tech Salon
Nov 8, 2019 · Backend Development

Analyzing and Resolving TCP CLOSE_WAIT Issues in Java HTTP Client with Apache HttpClient

This article investigates the root causes of excessive TCP CLOSE_WAIT connections in a Java service, explains TCP state transitions, demonstrates packet capture analysis, and details how improper use of Apache HttpClient and its connection pool leads to lingering sockets, offering concrete debugging steps and configuration fixes.

CLOSE_WAITConnection PoolHttpClient
0 likes · 32 min read
Analyzing and Resolving TCP CLOSE_WAIT Issues in Java HTTP Client with Apache HttpClient