Intermittent slow outbound network inside container

Muriuki, Levi M 251 Reputation points
2022-05-31T20:29:00.407+00:00

I'm running a few Windows IIS containers on a Service Fabric cluster. Occasionally, especially after high load, the outbound connections from inside the containers becomes very slow and causes timeouts. Even after restarting the containers, the issue is not fixed. I even tried to run a container explicitly using docker run inside the node as opposed to using a SF deployment, and the new container also has this slow network. What resolves it is to restart Fabric.exe process on the node. This issue is random in that it affects only one node at a given time. Connections to localhost work without issue.

Any ideas what could be causing this?

Azure Service Fabric
Azure Service Fabric
An Azure service that is used to develop microservices and orchestrate containers on Windows and Linux.
252 questions
Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
645 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Muriuki, Levi M 251 Reputation points
    2022-07-15T20:57:45.97+00:00

    Turned out the issue was caused by port exhaustion as reported by WinNAT. We increased the port range by updating 'ephemeralPorts' which resolved the issue.