[slurm-users] Print slurm cgroup parameters

Ole Holm Nielsen Ole.H.Nielsen at fysik.dtu.dk
Mon Jan 27 20:52:11 UTC 2020


On 27-01-2020 20:35, Mahmood Naderan wrote:
> Hi
> Is there any command to print current cgroup parameters or 
> configurations that are used by Slurm?

This works for me:

# scontrol show config | tail -22

Cgroup Support Configuration:
AllowedDevicesFile      = /etc/slurm/cgroup_allowed_devices_file.conf
AllowedKmemSpace        = (null)
AllowedRAMSpace         = 100.0%
AllowedSwapSpace        = 0.0%
CgroupAutomount         = yes
CgroupMountpoint        = /sys/fs/cgroup
ConstrainCores          = yes
ConstrainDevices        = no
ConstrainKmemSpace      = no
ConstrainRAMSpace       = yes
ConstrainSwapSpace      = yes
MaxKmemPercent          = 100.0%
MaxRAMPercent           = 100.0%
MaxSwapPercent          = 100.0%
MemorySwappiness        = (null)
MinKmemSpace            = 30 MB
MinRAMSpace             = 30 MB
TaskAffinity            = no


/Ole



More information about the slurm-users mailing list