[slurm-users] ulimits

Ozeryan, Vladimir Vladimir.Ozeryan at jhuapl.edu
Thu Nov 16 20:25:32 UTC 2023


Thank you Franky, I will give it a shot.

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

APL external email warning: Verify sender slurm-users-bounces at lists.schedmd.com<mailto:slurm-users-bounces at 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-bounces at lists.schedmd.com<mailto:slurm-users-bounces at lists.schedmd.com>> namens Ozeryan, Vladimir <Vladimir.Ozeryan at jhuapl.edu<mailto:Vladimir.Ozeryan at jhuapl.edu>>
Datum: donderdag, 16 november 2023 om 21:05
Aan: slurm-users at schedmd.com<mailto:slurm-users at schedmd.com> <slurm-users at schedmd.com<mailto:slurm-users at 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.Ozeryan at jhuapl.edu<mailto:Vladimir.Ozeryan at jhuapl.edu>
Ext. 23966

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20231116/90e7925c/attachment-0001.htm>


More information about the slurm-users mailing list