Join GitHub today
Alpha version exhausting processes/threads when limits are not reached #1281
The current alpha versions 1032.1.0 and 1045.0.0 (the ones i tried) are exhausting the processes/threads very quickly even when the limits are not reached.
This problem doesn't occur in stable(899.17.0) and beta (1010.3.0) versions
I also increased the limits in systemd to discard that, but fails anyway.
Easy to reproduce:
1- Install alpha version
3- Restart docker
4- Run a container:
5- Check limits inside the container
6- Loop inside the container that creates a lot of threads
For our case, alpha version is unusable right now, running around 20 containers make them fail because they cannot create more threads.
i believe this is because the cgroup created by docker on behalf of the container has the
in docker 1.11, you could avoid this by using
can you try setting DefaultTasksMax?
Yes, that seems to be the problem, now:
Anyway, for this new CoreOS version are we expected to set this DefaultTasksMax value or pid-limit parameter?
Shouldn't the cgroup created by docker inherit its systemd parameters like TasksMax?
@robszumski the limit should just be per-container, so 1 or 20 containers are fine but each suffer from the same limit.
@victorgp it means we are setting the default limit back to infinity, even outside of docker the default limit is super easy to hit with with Go and other, higher values felt equally as arbitrary. No other resource is limited by default so having this one limit is kinda odd.