nizam.sp
nizam.sp

Reputation: 4062

docker process hangs on write system call to stdout

One application process inside a docker was not responding. When we strace'd the pid, process was stuck in the following line.

Strace Ouput:

root@hostname-blah ~ # strace -p 29353
strace: Process 29353 attached
write(1, "\n", 1

file descriptor 1 was pointing to /dev/pts/0

echo "abc" > /dev/pts/0

also got stuck in this affected docker container (but it was working in other containers).

Upvotes: 4

Views: 2083

Answers (1)

Roman Podoliaka
Roman Podoliaka

Reputation: 121

This could be caused by this issue in Docker, that is specific to containers with allocated TTY: https://github.com/moby/moby/issues/35865

Upvotes: 2

Related Questions