Difficult debugging problem

I really don’t know enough to read that output I’m afraid. In the container you could try netstat -atn | grep TIME_WAIT | wc -l. This assumes that the output of netstat -atn is similar to my local linux box and grep and wc are there too. If they’re not you could copy the output and grep it locally. The idea is just to see how many TCP connections are around and see if that corresponds in some way to the number where you start seeing problems.