Hi All,

Context:
    SLURM: 15.08.11
    OS: CentOS 7

I would like to set time limit per job, so my slurm.conf looks like this (
3 minutes just for demo):

PartitionName=test Nodes=slurm-[2-5] Default=YES MaxTime=3 State=UP

sinfo output:

[hachi@slurm-1 ~]$ sinfo
PARTITION AVAIL  TIMELIMIT  NODES  STATE NODELIST
test*                up        3:00               4           idle
 slurm-[2-5]

But when i run a job more than 3 minutes it does not stop, like:
srun -n1 sleep 300

I also set MaxWall parameter but to no avail:
sacctmgr show qos format=MaxWall
    MaxWall
     -----------
     00:03:00

Please advice where i am doing wrong.

Thank you,
Hamza

Reply via email to