[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] Control the startd_history rotation policy



Hi Vikrant,

Both the Startd and Schedd history files are both affected by the same configuration options. MAX_HISTORY_LOG will control the max size a history file can grow to, and MAX_HISTORY_ROTATIONS will control how many backup/rotated history files are kept. The backup/rotated files are the ones with timestamps at the end.

Cheers,
Cole Bollig

From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx> on behalf of Vikrant Aggarwal <ervikrant06@xxxxxxxxx>
Sent: Wednesday, April 5, 2023 6:07 AM
To: HTCondor-Users Mail List <htcondor-users@xxxxxxxxxxx>
Subject: [HTCondor-users] Control the startd_history rotation policy
 
Hello Experts,

On worker nodes (startd) how can we control the size of these logs and the number of history log files we want to keep?
# du -sh /var/log/condor/startd_history*
442M    /var/log/condor/startd_history
1001M   /var/log/condor/startd_history.20230306T013843
1001M   /var/log/condor/startd_history.20230325T230618

Thanks & Regards,
Vikrant Aggarwal