Thank you Franky, I will give it a shot.

From: slurm-users <slurm-users-boun...@lists.schedmd.com> On Behalf Of Franky 
Backeljauw
Sent: Thursday, November 16, 2023 3:14 PM
To: Slurm User Community List <slurm-users@lists.schedmd.com>; 
slurm-us...@schedmd.com
Subject: [EXT] Re: [slurm-users] ulimits

APL external email warning: Verify sender 
slurm-users-boun...@lists.schedmd.com<mailto:slurm-users-boun...@lists.schedmd.com>
 before clicking links or attachments



Hi Vlad

If you are using the systemd services, then you can change the value in the 
file /usr/lib/systemd/system/slurmd.service, e.g.:

LimitNOFILE=131072
LimitMEMLOCK=infinity
LimitSTACK=infinity
LimitMSGQUEUE=12345678

See https://www.baeldung.com/linux/ulimit-limits-systemd-units for the list of 
possibilities...

-- Kind regards

Franky



Van: slurm-users 
<slurm-users-boun...@lists.schedmd.com<mailto:slurm-users-boun...@lists.schedmd.com>>
 namens Ozeryan, Vladimir 
<vladimir.ozer...@jhuapl.edu<mailto:vladimir.ozer...@jhuapl.edu>>
Datum: donderdag, 16 november 2023 om 21:05
Aan: slurm-us...@schedmd.com<mailto:slurm-us...@schedmd.com> 
<slurm-us...@schedmd.com<mailto:slurm-us...@schedmd.com>>
Onderwerp: [slurm-users] ulimits
Hello everyone,

I am having the following issue, on the compute nodes "POSIX message queues" is 
set to unlimited for soft and hard limits.
However, when I do "srun -w node01 --pty bash -I" and then once I am in the 
node I do "cat /proc/SLURMPID/limits" it shows that "Max msgqueue size" is set 
to 819200 for both soft and hard limits.
Where is it being set and how do I change it?

Thank you,

Vlad Ozeryan
AMDS - AB1 Linux-Support
vladimir.ozer...@jhuapl.edu<mailto:vladimir.ozer...@jhuapl.edu>
Ext. 23966

Reply via email to