AlgoViz

Opening, owning and closing a TCP connection

medium 7 min

TCP is a full-duplex byte stream with independent closure in each direction.

See it run

Read the baseline, inspect the incident and decide what the evidence supports.

Incident replay

CLOSE_WAIT grows after peer disconnects

Local CLOSE_WAIT socketsIllustrative measurements · sockets
Local CLOSE_WAIT sockets. Baseline 2 sockets2BaselineIncidentAfter intervention

Checkpoint 1 of 3

Baseline

Completed peer closes are promptly released.