<div dir="ltr">Try running `sacctmgr show runawayjobs` (or similar see manual to be sure), my bet is that the user has a job apparently running according to the database and this will at least tell you about them.<br clear="all"><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">----<br>Doug Jacobsen, Ph.D.<br>NERSC Senior Computing Engineer<br>Group Lead, Computational Systems Group<br>National Energy Research Scientific Computing Center<br><a href="mailto:dmjacobsen@lbl.gov" target="_blank">dmjacobsen@lbl.gov</a><br><br>------------- __o<br>---------- _ '\<,_<br>----------(_)/  (_)__________________________<br></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jul 27, 2021 at 2:00 PM Bill Wichser <<a href="mailto:bill@princeton.edu">bill@princeton.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">[root@della5 bill]# sacctmgr -i delete user mable<br>
  Error with request: Job(s) active, cancel job(s) before remove<br>
   JobID = 602995     C = tukey      A = politics   U = mable<br>
<br>
Yup, when a user has an active job they cannot be deleted from the <br>
database.  The thing is, this cluster tukey has been offline for maybe 5 <br>
years now. Probably more.<br>
<br>
I don't want to lose the old records in the database.  Is there a way to <br>
say,<br>
<br>
Hey, that job you believe is still running on tukey, well it doesn't <br>
exist anymore so please close this job<br>
<br>
?<br>
<br>
I haven't figured out a way to do this outside the database so suspect <br>
that only DB manipulation is the only answer.<br>
<br>
Thanks,<br>
Bill<br>
<br>
</blockquote></div>