TCP sockets stuck in FIN-WAIT-1 or CLOSING state forever

Solution Verified - Updated -


  • Sometimes when the server actively closes a TCP Connection it transitions into the CLOSING state and the TCP Connection hangs in this state forever.
  • The TCP Connection is then no longer owned by any process, so a kind of "zombie".


  • Red Hat Enterprise Linux 8 and 9
    • Kernels from kernel-4.18.0-152.el8
    • TCP

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content