Tag

CLOSE_WAIT

0 views collected around this technical thread.

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
Efficient Ops
Efficient Ops
Aug 26, 2019 · Operations

Why Are CLOSE_WAIT Sockets Sticking? Uncovering HttpClient’s Hidden Connection Leak

This article investigates persistent CLOSE_WAIT sockets in a Tomcat‑Nginx architecture, identifies HttpClient’s connection‑manager as the root cause, and details the step‑by‑step analysis and configuration changes that finally eliminated the issue.

CLOSE_WAITConnectionLeakHttpClient
0 likes · 7 min read
Why Are CLOSE_WAIT Sockets Sticking? Uncovering HttpClient’s Hidden Connection Leak
Qunar Tech Salon
Qunar Tech Salon
Apr 24, 2019 · Backend Development

Resolving HTTP ConnectionPoolTimeoutException and CLOSE_WAIT Issues in Java Applications

This article analyzes a production Java service that repeatedly hit org.apache.http.conn.ConnectionPoolTimeoutException due to exhausted HttpClient connection pools, explains how CLOSE_WAIT sockets are created when responses are not closed, and provides step‑by‑step code fixes and Tomcat configuration tweaks to eliminate the problem.

CLOSE_WAITConnection PoolHttpClient
0 likes · 11 min read
Resolving HTTP ConnectionPoolTimeoutException and CLOSE_WAIT Issues in Java Applications
Qunar Tech Salon
Qunar Tech Salon
Nov 6, 2018 · Operations

Analyzing TCP Connection States and Resolving TIME_WAIT, CLOSE_WAIT, and SYN_RECV Issues in a Java/Tomcat/HBase System

This article walks through a real‑world incident where sudden traffic drops were traced to abnormal TCP states—TIME_WAIT, CLOSE_WAIT, and SYN_RECV—by examining monitoring data, explaining the TCP handshake, reviewing relevant kernel parameters, and debugging Java/ZooKeeper/HBase code to identify and fix the root cause.

CLOSE_WAITHBaseSYN_RECV
0 likes · 20 min read
Analyzing TCP Connection States and Resolving TIME_WAIT, CLOSE_WAIT, and SYN_RECV Issues in a Java/Tomcat/HBase System