{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/18362","labels_url":"https://api.github.com/repos/docker/docker/issues/18362/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/18362/comments","events_url":"https://api.github.com/repos/docker/docker/issues/18362/events","html_url":"https://github.com/docker/docker/pull/18362","id":119912263,"number":18362,"title":"daemon_unix: expose max-threads","user":{"login":"runcom","id":849915,"avatar_url":"https://avatars.githubusercontent.com/u/849915?v=3","gravatar_id":"","url":"https://api.github.com/users/runcom","html_url":"https://github.com/runcom","followers_url":"https://api.github.com/users/runcom/followers","following_url":"https://api.github.com/users/runcom/following{/other_user}","gists_url":"https://api.github.com/users/runcom/gists{/gist_id}","starred_url":"https://api.github.com/users/runcom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/runcom/subscriptions","organizations_url":"https://api.github.com/users/runcom/orgs","repos_url":"https://api.github.com/users/runcom/repos","events_url":"https://api.github.com/users/runcom/events{/privacy}","received_events_url":"https://api.github.com/users/runcom/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/status/1-design-review","name":"status/1-design-review","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-12-02T10:30:00Z","updated_at":"2015-12-02T14:00:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/docker/docker/pulls/18362","html_url":"https://github.com/docker/docker/pull/18362","diff_url":"https://github.com/docker/docker/pull/18362.diff","patch_url":"https://github.com/docker/docker/pull/18362.patch"},"body":"Expose a unix only daemon flag which allows to SetMaxThreads in the go runtime\r\neither to the value provided by the user or to the 90% of `/proc/sys/kernel/threads-max`\r\nClose #15256\r\n\r\n/cc @jeremyeder\r\n\r\nTODO:\r\n- [ ] Docs\r\n\r\nSigned-off-by: Antonio Murdaca <runcom@redhat.com>"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/161302506","html_url":"https://github.com/docker/docker/pull/18362#issuecomment-161302506","issue_url":"https://api.github.com/repos/docker/docker/issues/18362","id":161302506,"user":{"login":"runcom","id":849915,"avatar_url":"https://avatars.githubusercontent.com/u/849915?v=3","gravatar_id":"","url":"https://api.github.com/users/runcom","html_url":"https://github.com/runcom","followers_url":"https://api.github.com/users/runcom/followers","following_url":"https://api.github.com/users/runcom/following{/other_user}","gists_url":"https://api.github.com/users/runcom/gists{/gist_id}","starred_url":"https://api.github.com/users/runcom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/runcom/subscriptions","organizations_url":"https://api.github.com/users/runcom/orgs","repos_url":"https://api.github.com/users/runcom/repos","events_url":"https://api.github.com/users/runcom/events{/privacy}","received_events_url":"https://api.github.com/users/runcom/received_events","type":"User","site_admin":false},"created_at":"2015-12-02T14:00:48Z","updated_at":"2015-12-02T14:00:48Z","body":"> Not sure how I feel about this one. It's bandaging a very real problem (there is a max # of containers that can be run), but we should really solve the issue such that we don't need to fire up *9* goroutines per container.\r\n\r\nI understand this and yes that issue should be tackled as well. But I feel something like this, even after lowering the number of goroutines needed for a container, could be something desiderable to better tune the daemon wrt the host on which is running"}}