Hi, since hour DB is become very big, I wanted to Archive records with the dump tool provided with slurmdbd. These are the slurmdbd.conf settings: # ARCHIVE ArchiveDir=/archivedir #ArchiveScript= ArchiveEvents=yes PurgeEventAfter=1825days ArchiveJobs=yes PurgeJobAfter=1825days ArchiveResvs=yes PurgeResvAfter=1825days ArchiveSteps=yes PurgeStepAfter=1825days ArchiveSuspend=yes PurgeSuspendAfter=1825days ArchiveTXN=yes PurgeTXNAfter=1825days ArchiveUsage=yes PurgeUsageAfter=1825days # LOGGING DebugLevelSyslog=info DebugLevel=verbose DebugFlags=DB_ARCHIVE LogFile=/var/log/slurm/slurmdbd.log LogTimeFormat=iso8601_ms After forcing a "sacctmgr archive dump" command, I get the following errors: [2023-01-06T09:19:42.798] error: invalid units from purge '-21736' [2023-01-06T09:19:42.798] error: Parsing purge meg_event_table [2023-01-06T09:19:42.798] error: Cluster meg rollup failed [2023-01-06T09:19:42.798] error: invalid units from purge '-21736' [2023-01-06T09:19:42.798] error: Parsing purge merlin5_event_table [2023-01-06T09:19:42.798] error: Cluster merlin5 rollup failed [2023-01-06T09:19:42.799] error: invalid units from purge '-21736' [2023-01-06T09:19:42.799] error: Parsing purge gmerlin6_event_table [2023-01-06T09:19:42.799] error: Cluster gmerlin6 rollup failed [2023-01-06T09:19:42.802] error: invalid units from purge '-21736' [2023-01-06T09:19:42.802] error: Parsing purge merlin6_event_table [2023-01-06T09:19:42.802] error: Cluster merlin6 rollup failed [2023-01-06T09:22:09.691] error: invalid units from purge '-21736' [2023-01-06T09:22:09.691] error: Parsing purge gmerlin6_event_table On a smaller test instance, I had no problems testing this and archiving worked properly. How can we fix this problem? Thanks a lot, Marc
Hi, Closing ticket. 1825 days was a very big number which triggered an overflow. Setting this to the equivalent of 3+ years worked. Now I am progressively archiving in chunks of 1 year. Sorry for the noise. Marc