{"action":"created","issue":{"url":"https://api.github.com/repos/docker/swarm/issues/1949","repository_url":"https://api.github.com/repos/docker/swarm","labels_url":"https://api.github.com/repos/docker/swarm/issues/1949/labels{/name}","comments_url":"https://api.github.com/repos/docker/swarm/issues/1949/comments","events_url":"https://api.github.com/repos/docker/swarm/issues/1949/events","html_url":"https://github.com/docker/swarm/issues/1949","id":140262661,"number":1949,"title":"memory and cpu hot-plugging support","user":{"login":"wmark","id":191736,"avatar_url":"https://avatars.githubusercontent.com/u/191736?v=3","gravatar_id":"","url":"https://api.github.com/users/wmark","html_url":"https://github.com/wmark","followers_url":"https://api.github.com/users/wmark/followers","following_url":"https://api.github.com/users/wmark/following{/other_user}","gists_url":"https://api.github.com/users/wmark/gists{/gist_id}","starred_url":"https://api.github.com/users/wmark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wmark/subscriptions","organizations_url":"https://api.github.com/users/wmark/orgs","repos_url":"https://api.github.com/users/wmark/repos","events_url":"https://api.github.com/users/wmark/events{/privacy}","received_events_url":"https://api.github.com/users/wmark/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/swarm/labels/kind/enhancement","name":"kind/enhancement","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-03-11T18:57:11Z","updated_at":"2016-03-15T23:55:36Z","closed_at":null,"body":"I've started *Docker*, *etcd2*, and *Swarm* on a *amd64* machine able to receive more CPUs and memory on-the-fly (aka hot-plugging), running Linux 4.4.0. It's a swarm of one machine only.\r\n\r\n```bash\r\n$ lscpu | head -n 5\r\nArchitecture:          x86_64\r\nCPU op-mode(s):        32-bit, 64-bit\r\nByte Order:            Little Endian\r\nCPU(s):                24\r\nOn-line CPU(s) list:   0-23\r\n\r\n$ docker -H 127.0.0.1:2377 info | tail -n 6\r\nKernel Version: 4.4.0-4-generic\r\nOperating System: linux\r\nArchitecture: amd64\r\nCPUs: 25\r\nTotal Memory: 16.32 GiB\r\nName: 562ec85caa9b\r\n```\r\n\r\nThe »CPU«-count is obviously off by one when displaying through *swarm*, fine with *docker*.\r\n\r\nAnyway, I've plugged in one more CPU and more memory. Both get detected and are made available by Linux correctly.\r\n\r\n**expected**\r\n```docker info``` (using swarm) displays more »(reservable) CPUs« and more »(reservable) memory«, and higher totals.\r\n\r\n**currently happening**\r\nThe counters don't change."},"comment":{"url":"https://api.github.com/repos/docker/swarm/issues/comments/197072450","html_url":"https://github.com/docker/swarm/issues/1949#issuecomment-197072450","issue_url":"https://api.github.com/repos/docker/swarm/issues/1949","id":197072450,"user":{"login":"dongluochen","id":14985073,"avatar_url":"https://avatars.githubusercontent.com/u/14985073?v=3","gravatar_id":"","url":"https://api.github.com/users/dongluochen","html_url":"https://github.com/dongluochen","followers_url":"https://api.github.com/users/dongluochen/followers","following_url":"https://api.github.com/users/dongluochen/following{/other_user}","gists_url":"https://api.github.com/users/dongluochen/gists{/gist_id}","starred_url":"https://api.github.com/users/dongluochen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dongluochen/subscriptions","organizations_url":"https://api.github.com/users/dongluochen/orgs","repos_url":"https://api.github.com/users/dongluochen/repos","events_url":"https://api.github.com/users/dongluochen/events{/privacy}","received_events_url":"https://api.github.com/users/dongluochen/received_events","type":"User","site_admin":false},"created_at":"2016-03-15T23:55:36Z","updated_at":"2016-03-15T23:55:36Z","body":"> Or just generate an event on syscall.SIGPWR?\r\n\r\nI doubt Docker maintainers would agree to that. "}}