1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg/sysinfo
Doug Davis b0970b629b Only show global warnings once
Upon each container create I'm seeing these warning **every** time in the
daemon output:
```
WARN[0002] Your kernel does not support swap memory limit
WARN[0002] Your kernel does not support cgroup rt period
WARN[0002] Your kernel does not support cgroup rt runtime
```
Showing them for each container.create() fills up the logs and encourages
people to ignore the output being generated - which means its less likely
they'll see real issues when they happen.  In short, I don't think we
need to show these warnings more than once, so let's only show these
warnings at daemon start-up time.

Signed-off-by: Doug Davis <dug@us.ibm.com>
(cherry picked from commit ff42a2eb41)
Signed-off-by: Victor Vieux <vieux@docker.com>
2017-01-24 17:00:24 -08:00
..
numcpu.go Fix wrong CPU count after CPU hot-plugging on Windows 2016-06-25 22:20:29 -07:00
numcpu_linux.go Fix s390x build failure by removing golang.org/x/sys 2016-06-30 06:32:32 -07:00
numcpu_windows.go Swap usage of LazyDLL and LoadDLL to LazySystemDLL. 2016-11-22 18:40:35 -08:00
README.md
sysinfo.go Implementing support for --cpu-rt-period and --cpu-rt-runtime so that 2016-10-26 11:33:06 -04:00
sysinfo_linux.go Only show global warnings once 2017-01-24 17:00:24 -08:00
sysinfo_linux_test.go
sysinfo_solaris.go Implementing support for --cpu-rt-period and --cpu-rt-runtime so that 2016-10-26 11:33:06 -04:00
sysinfo_test.go
sysinfo_unix.go make more pkgs support darwin 2016-08-10 22:56:05 +08:00
sysinfo_windows.go make more pkgs support darwin 2016-08-10 22:56:05 +08:00

SysInfo stores information about which features a kernel supports.