Doing a docker create and start via remote API of a simple ruby script:
while true
print 'hello' * 100
end
appears to overload the docker daemon. I see 100% cpu usage and memory load until the daemon restarts. The docker daemon logs show stuff like:
[error] container.go:490 attach: job 1 returned error write unix @: no buffer space available, aborting all jobs
[error] container.go:421 attach: stdout: write unix @: no buffer space available
or sometimes just the cryptic Killed.
This happens whether or not I do a docker attach to the container, as well. Is there an advised way to mitigate this on my end?
Doing a docker create and start via remote API of a simple ruby script:
appears to overload the docker daemon. I see 100% cpu usage and memory load until the daemon restarts. The docker daemon logs show stuff like:
or sometimes just the cryptic
Killed.This happens whether or not I do a docker attach to the container, as well. Is there an advised way to mitigate this on my end?