Set multi_accept off And the web service did not hang this time https://i.imgur.com/irbA5MO.png But the connections in CLOSE_WAIT and LAST_ACK got a spike Posted at Nginx Forum: https://forum.nginx.org/read.php?2,282613,282675#msg-282675