Thanks a lot for the detailed explanation. The first patch reduced the socket leaks by >99%. I will run tests with second patch beginning next week and check if it goes down to 0 leaks. Are does 2 fixes integrated in the next release 1.11.2? Thanks! Posted at Nginx Forum: https://forum.nginx.org/read.php?2,267669,267843#msg-267843