Skip to content
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

docker terminal (docker exec -it .. bash) hangs when huge information is printed #105

Open
chayeon opened this issue Dec 6, 2016 · 0 comments

Comments

@chayeon
Copy link

chayeon commented Dec 6, 2016

Hi,

When I get into docker containers using docker exec -it <name> bash and print some long file with command like cat in my private Triton environment, the terminal hangs or sometimes the connection is broken.

Bellow script makes the terminal hang. I cannot escape the terminal.

#!/bin/bash

for ((i=0;i<10000;i++))
do
  du -h /
done

Following script makes the connection be broken. It takes some seconds if you see the error message regarding the broken connection.

#!/bin/bash

for ((i=0;i<10000;i++))
do
  cat /var/log/dpkg.log
done

When connection is broken following message comes out.

HTTP/1.1 400 Connection Not Upgraded
Connection: close
Date: Tue, 06 Dec 2016 06:48:29 GMT

F.Y.I. This symptom also occurs in Joyent Public Cloud.

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant