-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
TCP errors and flakiness when using many simultaneous connections #815
Comments
Unfortunately I'm still able to reliably reproduce this on 1.12.3. Let me know if you need any additional information to help pinpoint the issue. |
@avaskys thanks for the update. Please could you upload a new diagnostic with the newer version. |
New diagnostic uploaded.
|
Thanks for the updated diagnostic. It contains:
Which is moby/vpnkit#131 and #578. The upstream issue has been closed so please subscribe to #578 for updates when it reaches a Docker for Mac beta. |
This issue seems to be still present and can be reproduced with instructions provided in the first comment.
|
@rreinurm it looks like you hit the connection limit which is 900 by default. Your logs contain:
You can increase the limit by following the instructions in #1009 (comment) |
@MagnusS thanx for the quick response |
I am also still experiencing this issue on the latest community edition for mac osx. |
I'm having this same issue on the latest Edge version - has none come up with a fix? |
Issue is closed so I am guessing nobody is looking into it. I stopped using docker for my redis and just installed redis natively and haven't had a problem since. |
I experience this issue as well.. |
I use redis docker also meet this problem when many concurrent get/set operate |
Closed issues are locked after 30 days of inactivity. If you have found a problem that seems similar to this, please open a new issue. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
When connecting to a service in a docker-for-mac container using many parallel TCP connections, I've been experiencing lots of unexpected TCP connection issues. The issue is quite easy to reproduce (see steps below).
Information
Diagnostic ID: 7277E55A-2918-4FD1-B691-EEB0D44E3E2F
Steps to reproduce the behavior
Summary: start an apache container serving up a file. Run multiple curl instances in parallel. Note all of the networking errors.
dd if=/dev/zero of=zero.txt bs=1000 count=1
docker run -dit -p 8888:80 --name apache -v "$PWD":/usr/local/apache2/htdocs/ httpd:2.4
for i in {1..100}; do curl -s -S -0 --no-keepalive "http://127.0.0.1:8888/zero.txt?[1-100]" > /dev/null & done; wait
Expected behavior
No TCP errors. This is what happens when using docker-machine or Docker on Linux.
Actual behavior
curl prints out lots of errors:
The text was updated successfully, but these errors were encountered: