<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p><font face="monospace">Guillaume,</font></p>
<p><font face="monospace">Check out the slurm-users thread from 2018
"pam_slurm_adopt does not constrain memory?" which explains the
issues with systemd-logind. <br>
</font></p>
<p><font face="monospace">Also:
<a class="moz-txt-link-freetext" href="https://bugs.schedmd.com/show_bug.cgi?id=5920">https://bugs.schedmd.com/show_bug.cgi?id=5920</a></font></p>
<p><font face="monospace">-b</font><br>
</p>
<div class="moz-cite-prefix">On 2/9/23 7:09 AM, Guillaume Lechantre
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:461014025.1635944.1675951795562.JavaMail.zimbra@telecom-paris.fr">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div style="font-family: arial, helvetica, sans-serif; font-size:
12pt; color: #000000">
<div>Hi everyone,<br>
</div>
<div><br data-mce-bogus="1">
</div>
<div>I'm in charge of the new cluster of GPU in my lab. </div>
<div><br data-mce-bogus="1">
</div>
<div>I'm using cgroup to restrict access to ressources,
especially GPUs.<br data-mce-bogus="1">
</div>
<div>It works fine when user use the connection created by
slurm.<br data-mce-bogus="1">
</div>
<div><br data-mce-bogus="1">
</div>
<div>I am using the pam_slurm_adopt.so module to give ssh access
to a node if the user already has a job running on it.<br
data-mce-bogus="1">
</div>
<div>When connecting to the node threw ssh, the user can see and
use all the GPUs of the node, even if he asked for just one. </div>
<div>This is really problematic as most user use the cluster by
connecting their IDE with ssh to the cluster.<br
data-mce-bogus="1">
</div>
<div><br data-mce-bogus="1">
</div>
<div>I can't find any related ressources on the internet and in
the old mails, do you have any idea what I am missing?</div>
<div>I'm not an expert, and working in the system administration
for 5 month...<br data-mce-bogus="1">
</div>
<div><br data-mce-bogus="1">
</div>
<div><br data-mce-bogus="1">
</div>
<div>Thanks in advance,<br data-mce-bogus="1">
</div>
<div><br data-mce-bogus="1">
</div>
<div>Guillaume<br data-mce-bogus="1">
</div>
<div><br data-mce-bogus="1">
</div>
<br>
</div>
</blockquote>
</body>
</html>