{"action":"created","issue":{"url":"https://api.github.com/repos/moby/moby/issues/35730","repository_url":"https://api.github.com/repos/moby/moby","labels_url":"https://api.github.com/repos/moby/moby/issues/35730/labels{/name}","comments_url":"https://api.github.com/repos/moby/moby/issues/35730/comments","events_url":"https://api.github.com/repos/moby/moby/issues/35730/events","html_url":"https://github.com/moby/moby/issues/35730","id":280043329,"number":35730,"title":"docker fails to start. possibly systemd or pid-control related","user":{"login":"l0rb","id":4580051,"avatar_url":"https://avatars2.githubusercontent.com/u/4580051?v=4","gravatar_id":"","url":"https://api.github.com/users/l0rb","html_url":"https://github.com/l0rb","followers_url":"https://api.github.com/users/l0rb/followers","following_url":"https://api.github.com/users/l0rb/following{/other_user}","gists_url":"https://api.github.com/users/l0rb/gists{/gist_id}","starred_url":"https://api.github.com/users/l0rb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/l0rb/subscriptions","organizations_url":"https://api.github.com/users/l0rb/orgs","repos_url":"https://api.github.com/users/l0rb/repos","events_url":"https://api.github.com/users/l0rb/events{/privacy}","received_events_url":"https://api.github.com/users/l0rb/received_events","type":"User","site_admin":false},"labels":[{"id":441967718,"url":"https://api.github.com/repos/moby/moby/labels/area/daemon","name":"area/daemon","color":"fbca04","default":false},{"id":182417459,"url":"https://api.github.com/repos/moby/moby/labels/status/more-info-needed","name":"status/more-info-needed","color":"C6A49A","default":false},{"id":687939503,"url":"https://api.github.com/repos/moby/moby/labels/version/17.09","name":"version/17.09","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2017-12-07T08:33:01Z","updated_at":"2017-12-13T08:43:47Z","closed_at":null,"author_association":"NONE","body":"\r\n\r\n**Description**\r\nThe docker service fails to start. It seems to hang in an endless startup loop. Error messages look systemd/pid-controller related. See below for exact messages\r\n\r\n**Steps to reproduce the issue:**\r\n1. start docker service\r\n\r\n**Output of `docker version`:**\r\n```\r\nClient:\r\n Version:      17.09.0-ce\r\n API version:  1.32\r\n Go version:   go1.8.3\r\n Git commit:   afdb6d4\r\n Built:        Tue Sep 26 22:42:09 2017\r\n OS/Arch:      linux/amd64\r\n```\r\n\r\n**Output of `docker info`:**\r\n\r\n```\r\n[no output, command hangs forever]\r\n```\r\n**Found in `/var/log/messages`:**\r\nThis message keeps popping up about every 5 minutes.\r\n```\r\nkernel: [  743.772608] cgroup: fork rejected by pids controller in /system.slice/docker.service\r\n```\r\n\r\n**Output of `systemctl -b -u docker`:***\r\n```\r\nDec 07 09:06:04 systemd[1]: Starting Docker Application Container Engine...\r\nDec 07 09:06:04 dockerd[865]: time=\"2017-12-07T09:06:04.278568958+01:00\" level=info msg=\"libcontainerd: new containerd process, pid: 877\"\r\nDec 07 09:06:05 dockerd[865]: time=\"2017-12-07T09:06:05.966849762+01:00\" level=info msg=\"[graphdriver] using prior storage driver: overlay2\"\r\nDec 07 09:06:11 dockerd[865]: time=\"2017-12-07T09:06:11.524161284+01:00\" level=info msg=\"Graph migration to content-addressability took 0.00 seconds\"\r\nDec 07 09:06:11 dockerd[865]: time=\"2017-12-07T09:06:11.524619166+01:00\" level=warning msg=\"Your kernel does not support swap memory limit\"\r\nDec 07 09:06:11 dockerd[865]: time=\"2017-12-07T09:06:11.524727383+01:00\" level=warning msg=\"Your kernel does not support cgroup rt period\"\r\nDec 07 09:06:11 dockerd[865]: time=\"2017-12-07T09:06:11.524749240+01:00\" level=warning msg=\"Your kernel does not support cgroup rt runtime\"\r\nDec 07 09:06:11 dockerd[865]: time=\"2017-12-07T09:06:11.525556139+01:00\" level=info msg=\"Loading containers: start.\"\r\nDec 07 09:12:10 dockerd[865]: runtime/cgo: pthread_create failed: Resource temporarily unavailable\r\nDec 07 09:12:10 dockerd[865]: SIGABRT: abort\r\nDec 07 09:12:10 dockerd[865]: PC=0x7f3bdddb3fcf m=2 sigcode=18446744073709551610\r\nDec 07 09:12:10 dockerd[865]: goroutine 0 [idle]:\r\nDec 07 09:12:10 dockerd[865]: goroutine 1 [semacquire]:\r\nDec 07 09:12:10 dockerd[865]: sync.runtime_Semacquire(0xc439d8c5bc)\r\nDec 07 09:12:10 dockerd[865]:         /usr/local/go/src/runtime/sema.go:47 +0x34\r\nDec 07 09:12:10 dockerd[865]: sync.(*WaitGroup).Wait(0xc439d8c5b0)\r\nDec 07 09:12:10 dockerd[865]:         /usr/local/go/src/sync/waitgroup.go:131 +0x7a\r\nDec 07 09:12:10 dockerd[865]: github.com/docker/docker/daemon.(*Daemon).restore(0xc420322400, 0x272ae60, 0xc420322400)\r\nDec 07 09:12:10 dockerd[865]:         /go/src/github.com/docker/docker/daemon/daemon.go:297 +0x71f\r\nDec 07 09:12:10 dockerd[865]: github.com/docker/docker/daemon.NewDaemon(0xc420099200, 0x2752620, 0xc4200154a0, 0x273de60, 0xc4201248f0, 0xc42011a4b0, 0x0, 0x0, 0x0)\r\nDec 07 09:12:10 dockerd[865]:         /go/src/github.com/docker/docker/daemon/daemon.go:809 +0x2866\r\nDec 07 09:12:10 dockerd[865]: main.(*DaemonCli).start(0xc420195f50, 0xc42012ae00, 0x0, 0x0)\r\nDec 07 09:12:10 dockerd[865]:         /go/src/github.com/docker/docker/cmd/dockerd/daemon.go:223 +0x11ea\r\nDec 07 09:12:10 dockerd[865]: main.runDaemon(0xc42012ae00, 0xc4201a4900, 0x0)\r\nDec 07 09:12:10 dockerd[865]:         /go/src/github.com/docker/docker/cmd/dockerd/docker.go:78 +0x76\r\nDec 07 09:12:10 dockerd[865]: main.newDaemonCommand.func1(0xc420094480, 0xc4201147a0, 0x0, 0x2, 0x0, 0x0)\r\nDec 07 09:12:10 dockerd[865]:         /go/src/github.com/docker/docker/cmd/dockerd/docker.go:29 +0x5b\r\nDec 07 09:12:10 dockerd[865]: github.com/docker/docker/vendor/github.com/spf13/cobra.(*Command).execute(0xc420094480, 0xc420010250, 0x2, 0x2, 0xc420094480, 0xc420010250)\r\nDec 07 09:12:10 dockerd[865]:         /go/src/github.com/docker/docker/vendor/github.com/spf13/cobra/command.go:646 +0x44e\r\nDec 07 09:12:10 dockerd[865]: github.com/docker/docker/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0xc420094480, 0x1873c60, 0x1, 0xc4200150f0)\r\nDec 07 09:12:10 dockerd[865]:         /go/src/github.com/docker/docker/vendor/github.com/spf13/cobra/command.go:742 +0x349\r\nDec 07 09:12:10 dockerd[865]: github.com/docker/docker/vendor/github.com/spf13/cobra.(*Command).Execute(0xc420094480, 0xc4200150f0, 0x0)\r\nDec 07 09:12:10 dockerd[865]:         /go/src/github.com/docker/docker/vendor/github.com/spf13/cobra/command.go:695 +0x2b\r\nDec 07 09:12:10 dockerd[865]: main.main()\r\nDec 07 09:12:10 dockerd[865]:         /go/src/github.com/docker/docker/cmd/dockerd/docker.go:105 +0xe6\r\nDec 07 09:12:10 dockerd[865]: goroutine 17 [syscall, 6 minutes, locked to thread]:\r\nDec 07 09:12:10 dockerd[865]: runtime.goexit()\r\nDec 07 09:12:10 dockerd[865]:         /usr/local/go/src/runtime/asm_amd64.s:2197 +0x1\r\nDec 07 09:12:10 dockerd[865]: goroutine 18 [syscall, 6 minutes]:\r\nDec 07 09:12:10 dockerd[865]: os/signal.signal_recv(0x72df0b)\r\nDec 07 09:12:10 dockerd[865]:         /usr/local/go/src/runtime/sigqueue.go:116 +0x104\r\nDec 07 09:12:10 dockerd[865]: os/signal.loop()\r\nDec 07 09:12:10 dockerd[865]:         /usr/local/go/src/os/signal/signal_unix.go:22 +0x22\r\nDec 07 09:12:10 dockerd[865]: created by os/signal.init.1\r\nDec 07 09:12:10 dockerd[865]:         /usr/local/go/src/os/signal/signal_unix.go:28 +0x41\r\nDec 07 09:12:10 dockerd[865]: goroutine 458 [syscall]:\r\nDec 07 09:12:10 dockerd[865]: syscall.Syscall(0x4a, 0x14b0, 0x0, 0x0, 0x0, 0x6, 0xc42001f368)\r\n[... and thousands more of this until ...]\r\nDec 07 09:24:31 systemd[1]: docker.service: Service hold-off time over, scheduling restart.\r\nDec 07 09:24:31 systemd[1]: Stopped Docker Application Container Engine.\r\nDec 07 09:24:31 systemd[1]: Starting Docker Application Container Engine...\r\n[... the same thousands again and again ...]\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/moby/moby/issues/comments/351322601","html_url":"https://github.com/moby/moby/issues/35730#issuecomment-351322601","issue_url":"https://api.github.com/repos/moby/moby/issues/35730","id":351322601,"user":{"login":"l0rb","id":4580051,"avatar_url":"https://avatars2.githubusercontent.com/u/4580051?v=4","gravatar_id":"","url":"https://api.github.com/users/l0rb","html_url":"https://github.com/l0rb","followers_url":"https://api.github.com/users/l0rb/followers","following_url":"https://api.github.com/users/l0rb/following{/other_user}","gists_url":"https://api.github.com/users/l0rb/gists{/gist_id}","starred_url":"https://api.github.com/users/l0rb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/l0rb/subscriptions","organizations_url":"https://api.github.com/users/l0rb/orgs","repos_url":"https://api.github.com/users/l0rb/repos","events_url":"https://api.github.com/users/l0rb/events{/privacy}","received_events_url":"https://api.github.com/users/l0rb/received_events","type":"User","site_admin":false},"created_at":"2017-12-13T08:43:47Z","updated_at":"2017-12-13T08:43:47Z","author_association":"NONE","body":"Cleaning out stopped containers did fix the problem."}}
{"actor":{"display_login":"l0rb"}}