[slurm-users] maxim number of pending jobs
Ole Holm Nielsen
Ole.H.Nielsen at fysik.dtu.dk
Thu Mar 8 08:43:18 MST 2018
On 03/08/2018 04:37 PM, Ryan Novosielski wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 03/08/2018 10:29 AM, Ole Holm Nielsen wrote:
>> On 03/08/2018 04:00 PM, Renat Yakupov wrote:
>>> is there a limit to a maximum number of jobs that can be queued
>>> in pending state? If so, how can I find it out?
>>
>> Maybe this answers your question?
>>
>> scontrol show config | grep MaxJobCount
>>
>> If this was your question, you may find my script warn_maxjobs
>> useful, see
>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithu
> b.com%2FOleHolmNielsen%2FSlurm_tools%2Ftree%2Fmaster%2Fjobs&data=02%7C01
> %7Cnovosirj%40rutgers.edu%7Ce01b9c4babf148c0b98308d5850a2ead%7Cb92d2b234
> d35447093ff69aca6632ffe%7C1%7C1%7C636561201142832416&sdata=6JADVahgy4m6R
> %2BEcr%2Fajhk1N0cmrVjgadXDjJ3Adv2c%3D&reserved=0
>
> What
>>
> do you do with these? Run them by hand? Schedule them up? Run
> from Nagios or similar?
You may run warn_maxjobs from crontab, see the comments in the script:
https://github.com/OleHolmNielsen/Slurm_tools/blob/master/jobs/warn_maxjobs
/Ole
More information about the slurm-users
mailing list