lotus/extern
Clint Armstrong e2a1ca7caa Use cgroup limits in worker memory calculations
Worker processes may have memory limitations imposed by Systemd. But
/proc/meminfo shows the entire system memory regardless of these limits.
This results in the scheduler believing the worker has the entire system
memory avaliable and the worker being allocated too many tasks.

This change attempts to read cgroup memory limits for the worker
process. It supports cgroups v1 and v2, and compares cgroup limits
against the system memory and returns the most conservative values to
prevent the worker from being allocated too many tasks and potentially
triggering an OOM event.
2021-11-30 02:06:58 +01:00
..
filecoin-ffi@7912389334 update to proof v10.1.0 2021-10-26 14:36:19 -04:00
sector-storage Use cgroup limits in worker memory calculations 2021-11-30 02:06:58 +01:00
serialization-vectors@5bfb928910 Update serialization vectors 2020-08-07 01:21:01 +02:00
storage-sealing checkCommit should return SectorCommitFailed 2021-10-22 10:09:44 +08:00
test-vectors@d9a75a7873 update schema; test-vectors submodule. 2020-10-15 12:49:23 +01:00