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

Unable to create more than 200 containers by default #726

Closed
dhiltgen opened this issue Apr 6, 2016 · 4 comments
Closed

Unable to create more than 200 containers by default #726

dhiltgen opened this issue Apr 6, 2016 · 4 comments
Milestone

Comments

@dhiltgen
Copy link

dhiltgen commented Apr 6, 2016

If you attempt to create more than 200 containers, you get a rather confusing error message from the daemon.

docker[5776]: time="2016-04-06T18:50:58Z" level=error msg="containerd: start container" error="oci runtime error: could not synchronise with container process: could not create session key: disk quota exceeded" id=364fa0569db4475be3ef5f4ecf8c4751a84fa064ad7f6e05505137c65a629430
docker[5776]: time="2016-04-06T18:50:58.265141539Z" level=error msg="Handler for POST /v1.15/containers/364fa0569db4475be3ef5f4ecf8c4751a84fa064ad7f6e05505137c65a629430/start returned error: rpc error: code = 2 desc = \"oci runtime error: could not synchronise with container process: could not create session key: disk quota exceeded\""

It appears that #582 coupled with the default /proc/sys/kernel/keys/ quota leads to this.

Ideally users shouldn't have to modify this by hand to run more than 200 containers on the system.

@marcosnils
Copy link
Contributor

@dhiltgen have you tried containerd?. Seems to me like runC is already battle tested.

https://github.com/docker/containerd

@dhiltgen
Copy link
Author

dhiltgen commented Apr 6, 2016

I was using docker 1.11.0-rc3

@crosbymichael
Copy link
Member

This is being fixed in the upper layers. There is not much we should do at this layer.

@crosbymichael
Copy link
Member

@dhiltgen you can follow the progress for the change in docker here:

moby/moby#22865

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

3 participants