TCP/Status CLOSE_WAIT for nginx, very long time

Maxim Dounin mdounin at
Sun May 10 17:35:59 UTC 2020


On Wed, May 06, 2020 at 08:59:29PM -0400, q1548 wrote:

> I run netstat, find one of nginx processes, its status always is CLOSE_WAIT,
> never change for very long time, how to fix this? thanks.

Sockets in the CLOSE_WAIT states for a long time usually indicate 
a socket leak.  First of all, make sure you are using latest nginx 
version - that is, either 1.17.10 or 1.18.0.

Maxim Dounin

More information about the nginx mailing list