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 ff42a2eb41 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>
2016-11-30 10:11:42 -08:00
..
numcpu.go
numcpu_linux.go
numcpu_windows.go Swap usage of LazyDLL and LoadDLL to LazySystemDLL. 2016-11-22 14:57:11 -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 2016-11-30 10:11:42 -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.