VictoriaMetrics/lib/memory
Aliaksandr Valialkin 6721e47ae9 app: respect CPU limits set via cgroups
Update GOMAXPROCS to limits set via cgroups. This should reduce CPU trashing and reduce memory usage
for cases when VictoriaMetrics components run in containers with CPU limits.

See https://github.com/VictoriaMetrics/VictoriaMetrics/issues/685
2020-08-11 23:01:03 +03:00
..
limiter_test.go Makefile: enable golangci-lint in make check_all 2019-06-20 15:00:58 +03:00
limiter.go Makefile: enable golangci-lint in make check_all 2019-06-20 15:00:58 +03:00
memory_bsd.go all: port to FreeBSD on GOARCH=amd64 2019-08-28 01:46:09 +03:00
memory_darwin.go all: port to FreeBSD on GOARCH=amd64 2019-08-28 01:46:09 +03:00
memory_linux.go app: respect CPU limits set via cgroups 2020-08-11 23:01:03 +03:00
memory_windows.go all: initial stubs for Windows support; see https://github.com/VictoriaMetrics/VictoriaMetrics/issues/70 2019-06-20 20:07:41 +03:00
memory.go allow to use values lower than 10 with the flag -memory.allowedPercent (#531) 2020-06-03 23:40:13 +03:00
sysctl.go all: port to FreeBSD on GOARCH=amd64 2019-08-28 01:46:09 +03:00