Cannot create more than ~2500 containers due to golang setMaxThreads param

Bug #1567090 reported by bugproxy
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
docker.io (Ubuntu)
Fix Released
Undecided
Taco Screen team

Bug Description

Users cannot create more than ~2500 containers due to setMaxThreads being set too low in golang. Typically each container uses ~4 pthreads. Many users may want to create a high number of containers, however that is not possible since the current max default in golang is 10,000 pthreads (https://golang.org/pkg/runtime/debug/#SetMaxThreads).

This has been addressed upstream in Docker v1.11:
https://github.com/docker/docker/commit/4f37e14e9c1f57015d4a212bc48601eaef0fc733

which sets the golang thread limit to 90% of /proc/sys/kernel/threads-max.

Would it be possible for Ubuntu 16.04 to include this fix in the v1.10 docker binaries?

bugproxy (bugproxy)
tags: added: architecture-ppc64le bugnameltc-140060 severity-high targetmilestone-inin---
Changed in ubuntu:
assignee: nobody → Taco Screen team (taco-screen-team)
Luciano Chavez (lnx1138)
affects: ubuntu → docker (Ubuntu)
bugproxy (bugproxy)
tags: added: targetmilestone-inin1604
removed: targetmilestone-inin---
Steve Langasek (vorlon)
affects: docker (Ubuntu) → docker.io (Ubuntu)
Revision history for this message
Tianon Gravi (tianon) wrote :

This is fixed now that we've got "TasksMax=infinity" in our systemd service file, right?

(The commit referenced above is also included in all the 1.11 releases, so either way we should be fixed here.)

Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2016-07-20 17:51 EDT-------
Yep. I say let's close this out.

Jon Grimm (jgrimm)
Changed in docker.io (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.