logrotate

logrotate prevents log files getting to large and so using excess disk resources. logrotate is a Debian product that has been ported to RedHat and consequently Scientific Linux. Under Redhat it can be configured by adding files in the directory "/etc/logrotate.d/"

It is recommended that a dcache file is added as "/etc/logrotate.d/d-cache" with the content as follows. At the time of writing this was not configured on the RAL d-cache server but is most likely an oversize.

/opt/d-cache/log/*.log {
    rotate 4
    weekly
    missingok
    compress
    copytruncate
}