Support cgroups memory limit detection for cgroups V2 #6894
Labels
enhancement
Improve existing functionality or make things work better
good first issue
Clearly described and easy to accomplish. Good for beginners to the project.
In cgroups v2, the memory limit changed from
/sys/fs/cgroup/memory/memory.limit_in_bytes
to/sys/fs/cgroup/memory.max
. For example:To fix this, let's just replace this with a loop through both files:
distributed/distributed/system.py
Line 25 in 969aa46
The text was updated successfully, but these errors were encountered: