Re: [slurm-users] Gentle memory limits in Slurm using cgroup?

2019-05-03 Thread Alexander Åhman
Thanks for the info! Didn't know Slurm supported to set a soft limit. Did have a look in the code and found function "memcg_initialize" in file "plugins/task/cgroup/task_cgroup_memory.c". It looks like in order to set both hard and soft limits you need to do: ConstrainRAMSpace=yes AllowedRAMS

Re: [slurm-users] Gentle memory limits in Slurm using cgroup?

2019-05-02 Thread Janne Blomqvist
On 02/05/2019 17.53, Alexander Åhman wrote: > Hi, > Is it possible to configure slurm/cgroups in such way that jobs that are > using more memory than they asked for are not killed if there still are > free memory available on the compute node? When free memory gets low > these jobs can be killed as

[slurm-users] Gentle memory limits in Slurm using cgroup?

2019-05-02 Thread Alexander Åhman
Hi, Is it possible to configure slurm/cgroups in such way that jobs that are using more memory than they asked for are not killed if there still are free memory available on the compute node? When free memory gets low these jobs can be killed as usual. Today when a job has exceeded its limits