[slurm-users] Slurm resource limits on jobs

Sajesh Singh ssingh at amnh.org
Tue May 7 14:59:00 UTC 2019


Barbara,
Thank you for info. Will add to config.

--

SS

From: slurm-users <slurm-users-bounces at lists.schedmd.com> On Behalf Of Barbara KraĊĦovec
Sent: Tuesday, May 7, 2019 8:53 AM
To: slurm-users at lists.schedmd.com
Subject: Re: [slurm-users] Slurm resource limits on jobs


Resources are limited with cgroups in SLURM. Check the documentation:

https://slurm.schedmd.com/cgroups.html<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fslurm.schedmd.com%2Fcgroups.html&data=02%7C01%7Cssingh%40amnh.org%7C14f601168ad14d6ae08408d6d2eb1a57%7Cbe0003e8c6b9496883aeb34586974b76%7C0%7C1%7C636928304549376757&sdata=7Y1BAQWPzyf18Pla8mYAQd4Eq%2FWJpmzrCB%2FpVvL4FgY%3D&reserved=0>

You simply specify ProctrackType=proctrack/cgroup or/and TaskPlugin=task/cgroup in slurm.conf and then configure which resources are limited and how much in the cgroup.conf:

https://slurm.schedmd.com/cgroup.conf.html<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fslurm.schedmd.com%2Fcgroup.conf.html&data=02%7C01%7Cssingh%40amnh.org%7C14f601168ad14d6ae08408d6d2eb1a57%7Cbe0003e8c6b9496883aeb34586974b76%7C0%7C1%7C636928304549386765&sdata=hPCTl09LbOPxj2mvyN8IyIeUnSzvt2QZ46k4VEUVYTw%3D&reserved=0>

Barbara
On 5/6/19 5:52 PM, Sajesh Singh wrote:
Good day fellow Slurm users.

Coming from a PBSpro system which has the following variables to limit a job to the resources it requested:

$enforce mem
$enforce cpuaverage
$enforce cpuburst

If a user exceeded any of the above limits their job would be terminated.

Looking through the slurm.conf man page I only see configuration variables to limit memory utilization:

OverMemoryKill and MemLimitEnforce.

What are the analogous variables to use for other resources that may be exceeded by a job?

Regards,

SS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20190507/8b0098b2/attachment-0001.html>


More information about the slurm-users mailing list