New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Timeout: UnixHTTPConnectionPool #398
Comments
We are also seeing the following error during the same conditions as above. It almost seems like docker is getting overwhelmed:
|
Sounds to me like you're overloading your machine. What are the specs? How many containers are you running concurrently? |
Seems plausible. We are lunching 14 containers with heavy processing on 1 computer with 32 cores and 128 GB of RAM |
@ureyes84 Example
and that was with everything idling. |
it happens to me today, there are 50 container start, and then the message appear. system became very slow. |
Finally found the root issue that was messing me up. We are running Docker on EC2 instances, without realizing it we was taxing the EBS volume by requesting too many writes and reads and it couldn't burst anymore without getting a bigger EBS volume. So in the end boiled back to overloading the host machine. |
Closing, evidence points to this not being a docker-py issue. |
I face this issue regularly because we use
|
If you get a timeout on the client it's almost always an issue with the server. 60s should be more than enough time to wait for a response. Since you're running such an old version of docker, it's probably worth upgrading. |
We are spawning multiple containers from multiple processes concurrently. It's hard to tell exactly when this happens but we have noticed this is more frequent the more containers we start.
Docker version
Docker client
Here is the exception we are getting:
What does this mean? Timeout seems high already, would a retry help?
The text was updated successfully, but these errors were encountered: