minio/pkg/sys
Harshavardhana 3bf67668b6 sys/stats: return cgroup mem limit, fall back to sysinfo() (#4002)
This is necessary where in certain environments where
cgroup is used to limit memory usage of a container or
a particular process.

GetStats() is used by caching module to figure out the
optimal cacheable size in memory with cgroup limits
what sysinfo reports might not be the right value set
for a given process.

Fixes #4001
2017-04-02 10:46:16 -07:00
..
rlimit-file_bsd.go Move rlimit functions into sys package. (#3824) 2017-03-01 21:51:57 -08:00
rlimit-file_nix.go Move rlimit functions into sys package. (#3824) 2017-03-01 21:51:57 -08:00
rlimit-file_test.go Move rlimit functions into sys package. (#3824) 2017-03-01 21:51:57 -08:00
rlimit-file_windows.go Move rlimit functions into sys package. (#3824) 2017-03-01 21:51:57 -08:00
rlimit-memory_bsd.go Move rlimit functions into sys package. (#3824) 2017-03-01 21:51:57 -08:00
rlimit-memory_nix.go Move rlimit functions into sys package. (#3824) 2017-03-01 21:51:57 -08:00
rlimit-memory_openbsd.go Move rlimit functions into sys package. (#3824) 2017-03-01 21:51:57 -08:00
rlimit-memory_test.go Move rlimit functions into sys package. (#3824) 2017-03-01 21:51:57 -08:00
rlimit-memory_windows.go Move rlimit functions into sys package. (#3824) 2017-03-01 21:51:57 -08:00
stats_bsd.go Move rlimit functions into sys package. (#3824) 2017-03-01 21:51:57 -08:00
stats_darwin.go Move rlimit functions into sys package. (#3824) 2017-03-01 21:51:57 -08:00
stats_linux.go sys/stats: return cgroup mem limit, fall back to sysinfo() (#4002) 2017-04-02 10:46:16 -07:00
stats_test.go sys/stats: return cgroup mem limit, fall back to sysinfo() (#4002) 2017-04-02 10:46:16 -07:00
stats_windows.go Move rlimit functions into sys package. (#3824) 2017-03-01 21:51:57 -08:00
stats.go Move rlimit functions into sys package. (#3824) 2017-03-01 21:51:57 -08:00