Hi John,

Have you tried specifying a start time?  The default is 00:00:00 of the current 
day (depending on other options).  Example:

sacct -S 2020-11-01T00:00:00

Our accounting database retains all job data from the epoch of our system.

Best,

Sebastian

--

[University of Nevada, Reno]<http://www.unr.edu/>
Sebastian Smith
High-Performance Computing Engineer
Office of Information Technology
1664 North Virginia Street
MS 0291

work-phone: 775-682-5050<tel:7756825050>
email: stsm...@unr.edu<mailto:stsm...@unr.edu>
website: http://rc.unr.edu<http://rc.unr.edu/>

________________________________
From: slurm-users <slurm-users-boun...@lists.schedmd.com> on behalf of john 
abignail <abignailj...@gmail.com>
Sent: Thursday, November 12, 2020 12:57 PM
To: slurm-users@lists.schedmd.com <slurm-users@lists.schedmd.com>
Subject: [slurm-users] can't lengthen my jobs log

Hi,

My jobs database empties after about 1 day. "sacct -a" returns no results. I've 
tried to lengthen that, but have been unsuccessful. I've tried adding the 
following to slurmdbd.conf and restarting slurmdbd:
ArchiveJobs=yes
PurgeEventAfter=1month
PurgeJobAfter=12month
PurgeResvAfter=1month
PurgeStepAfter=1month
PurgeSuspendAfter=1month
PurgeTXNAfter=12month
PurgeUsageAfter=24month
No job archives appear (in the default /tmp dir) either. What I'd like to do is 
have the slurm database retain information on jobs for at least a few weeks, 
writing out data beyond that threshold to files, but mainly I just want to keep 
job data in the database for longer.

Regards,
John

Reply via email to