<div dir="ltr"><div><div><div><div><div>Hi all,<br><br></div>I'm quite new in this slurm world, and I have some (a lot!) of doubts.<br></div>I want to limit resources on my login node so users don't overload this host. I have configure ulimit in this way:<br><br>cat custom.conf <br>*          soft    nproc     4096<br>root       soft    nproc     unlimited<br>@basic     soft    nproc     100<br>@basic        hard as 2000000<br><br></div>As you may guess, @basic is the normal group for my users, and I have limited they only can reserve 2GB of virtual memory. But something weird occurs. Everything seems to work fine, but a certain sbatch is failing. This sbatch launches finally a java jar file, and fails with this error:<br><br>Error occurred during initialization of VM<br>Could not allocate metaspace: 1073741824 bytes<br><br></div>If I unlimit memory resources (by commenting the last line in custom.conf file), the same sbatch works properly. A scontrol show job of a failed job shows that the job was launched in a compute node, where there is no any restriction about memory (or other) resource. So, the login node is the only node I limit resources.  Why is failing the sbatch if the compute nodes have no any restriction but the login one? I'm pretty sure the problem is due last line of custom.conf file. If I comment that line or increase the limit to 4GB for example, everything works fine. What am I missing?<br><br></div>Thanks a lot!<br><div><div><div><br></div></div></div></div>