https://bugzilla.redhat.com/show_bug.cgi?id=1096273



--- Comment #12 from Lukas Doktor <[email protected]> ---
That's weird. I can reproduce this always on booth, RHEL and Fedora. Today I
tried it with the latest docker-io-1.0.0-6.fc20.x86_64 and the results are:

1) docker -D run --tty=false --rm -i --name test_eoly
localhost:5000/ldoktor/fedora:latest bash -c 'for NUM in `seq 1 64`; do trap
"echo Received $NUM, ignoring..." $NUM; done; while :; do sleep 1; done'
2) TERM2: ps -ax |grep docker
3) TERM2: kill -SIGSTOP 10197
generates output in TERM1:
[1]+  Pozastavena             docker -D run --tty=false --rm -i --name
test_eoly localhost:5000/ldoktor/fedora:latest bash -c 'for NUM in `seq 1 64`;
do trap "echo Received $NUM, ignoring..." $NUM; done; while :; do sleep 1;
done'

4) TERM2: kill -SIGCONT 10197
generates output in TERM1:
[medic@t530 ~ 147]$ fg[debug] stdcopy.go:111 framesize: 25
Received 21, ignoring...
[debug] commands.go:556 Error sending signal: Post
http:///var/run/docker.sock/v1.12/containers/673424bd1e6e95ae83641e20bdc18065d6374e147f23df7e7fbc45e7cd240aa9/kill?signal=TTIN:
dial unix /var/run/docker.sock: too many open files
[debug] commands.go:556 Error sending signal: Post
http:///var/run/docker.sock/v1.12/containers/673424bd1e6e95ae83641e20bdc18065d6374e147f23df7e7fbc45e7cd240aa9/kill?signal=TTIN:
dial unix /var/run/docker.sock: too many open files
[debug] commands.go:556 Error sending signal: Post
http:///var/run/docker.sock/v1.12/containers/673424bd1e6e95ae83641e20bdc18065d6374e147f23df7e7fbc45e7cd240aa9/kill?signal=TTIN:
dial unix /var/run/docker.sock: too many open files
[debug] commands.go:556 Error sending signal: Post
http:///var/run/docker.sock/v1.12/containers/673424bd1e6e95ae83641e20bdc18065d6374e147f23df7e7fbc45e7cd240aa9/kill?signal=TTIN:
dial unix /var/run/docker.sock: too many open files
[debug] commands.go:556 Error sending signal: Post
http:///var/run/docker.sock/v1.12/containers/673424bd1e6e95ae83641e20bdc18065d6374e147f23df7e7fbc45e7cd240aa9/kill?signal=TTIN:
dial unix /var/run/docker.sock: too many open files
[debug] commands.go:556 Error sending signal: Post
http:///var/run/docker.sock/v1.12/containers/673424bd1e6e95ae83641e20bdc18065d6374e147f23df7e7fbc45e7cd240aa9/kill?signal=TTIN:
dial unix /var/run/docker.sock: too many open files
[debug] commands.go:556 Error sending signal: Post
http:///var/run/docker.sock/v1.12/containers/673424bd1e6e95ae83641e20bdc18065d6374e147f23df7e7fbc45e7cd240aa9/kill?signal=TTIN:
dial unix /var/run/docker.sock: too many open files
[debug] commands.go:556 Error sending signal: Post
http:///var/run/docker.sock/v1.12/containers/673424bd1e6e95ae83641e20bdc18065d6374e147f23df7e7fbc45e7cd240aa9/kill?signal=TTIN:
dial unix /var/run/docker.sock: too many open files
...

until I execute fg (in TERM1):
docker -D run --tty=false --rm -i --name test_eoly
localhost:5000/ldoktor/fedora:latest bash -c 'for NUM in `seq 1 64`; do trap
"echo Received $NUM, ignoring..." $NUM; done; while :; do sleep 1; done'
[debug] commands.go:556 Error sending signal: Post
http:///var/run/docker.sock/v1.12/containers/673424bd1e6e95ae83641e20bdc18065d6374e147f23df7e7fbc45e7cd240aa9/kill?signal=TTIN:
dial unix /var/run/docker.sock: too many open files
[debug] stdcopy.go:111 framesize: 25
Received 21, ignoring...

and waits. When I pres ctrl+c it complains about too many open files:
^C[debug] commands.go:556 Error sending signal: Post
http:///var/run/docker.sock/v1.12/containers/673424bd1e6e95ae83641e20bdc18065d6374e147f23df7e7fbc45e7cd240aa9/kill?signal=INT:
dial unix /var/run/docker.sock: too many open files

The only way to kill it is `kill -9 ...`

For fedora tests I'm executing docker in xterm, for RHEL I ssh from Fedora
xterm to virtual RHEL7 kvm guest. Today I tried that with gnome-terminal just
to be sure it's not related to some xterm specific behavior and it works 100%
of time.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
golang mailing list
[email protected]
https://lists.fedoraproject.org/mailman/listinfo/golang

Reply via email to