Is there any way to clean TCP connections in "FIN_WAIT1" state ?

Solution Verified - Updated -

Issue

  • Our application cannot start after a crash, and the reason seems to be a socket in FIN_WAIT_1 state.
  • Is changing tcp_orphan_retries sysctl value from the default 0 going to help?
  • What are other solutions to clean such stuck connections?

Environment

  • Red Hat Enterprise Linux
  • TCP connections

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