Re: [slurm-users] [External] Re: PropagateResourceLimits

2021-04-29 Thread Ole Holm Nielsen
On 29-04-2021 18:54, Ryan Novosielski wrote: It may not for specifically PropagateResourceLimits – as I said, the docs are a little sparse on the “how” this actually works – but you’re not correct that PAM doesn’t come into play re: user jobs. If you have “UsePam = 1” set, and have an /etc/pam

Re: [slurm-users] [External] Re: PropagateResourceLimits

2021-04-29 Thread Prentice Bisbal
So I decided to eat my own dog food, and tested this out myself. First of all, running ulimit through srun "naked" like that doesn't work, since ulimit is a bash shell builtin, so I had to write a simple shell script: $ cat ulimit.sh #!/bin/bash ulimit -a By default, core is set to zero in

Re: [slurm-users] [External] Re: PropagateResourceLimits

2021-04-29 Thread Prentice Bisbal
What I said in my last e-mail (which you probably haven't gotten to yet) is similar to this case. On it's own Slurm wouldn't propagate resource limits, but that as been added as a function. In your case, Slurm has functionality built into it where you can tell it to use PAM. With this functiona

Re: [slurm-users] [External] Re: PropagateResourceLimits

2021-04-29 Thread Ryan Novosielski
It may not for specifically PropagateResourceLimits – as I said, the docs are a little sparse on the “how” this actually works – but you’re not correct that PAM doesn’t come into play re: user jobs. If you have “UsePam = 1” set, and have an /etc/pam.d/slurm, as our site does, there is some amoun

Re: [slurm-users] [External] Re: PropagateResourceLimits

2021-04-29 Thread Prentice Bisbal
On 4/28/21 2:26 AM, Diego Zuccato wrote: Il 27/04/2021 17:31, Prentice Bisbal ha scritto: I don't think PAM comes into play here. Since Slurm is starting the processes on the compute nodes as the user, etc., PAM is being bypassed. Then maybe slurmd somehow goes throught the PAM stack another w

Re: [slurm-users] [External] Re: PropagateResourceLimits

2021-04-27 Thread Diego Zuccato
Il 27/04/2021 17:31, Prentice Bisbal ha scritto: I don't think PAM comes into play here. Since Slurm is starting the processes on the compute nodes as the user, etc., PAM is being bypassed. Then maybe slurmd somehow goes throught the PAM stack another way, since limits on the frontend got propa

Re: [slurm-users] [External] Re: PropagateResourceLimits

2021-04-27 Thread Prentice Bisbal
I don't think PAM comes into play here. Since Slurm is starting the processes on the compute nodes as the user, etc., PAM is being bypassed. Prentice On 4/22/21 10:55 AM, Ryan Novosielski wrote: My recollection is that this parameter is talking about “ulimit” parameters, and doesn’t have to