The disk on vcs0 is filling up again.  The culprit is the
/var/cache/cgit directory.

  root@vcs0:/var/cache/cgit# du -sh
  2.3G    .

I am going to put in a cron find job to prune that directory.  It
appears to need to be a fairly agressive time based pruning too in
order to avoid the problem.  The 7 day window is still holding 1.7G of
data there.  Actually the one day window is the current problem.  Some
of the files are really quite large.

  -rw------- 1 www-data www-data 513M Mar  9 02:40 f0110000

I have decided to settle on this agressive pruning for the moment.

File /etc/cron.hourly/local/cgit-prune

  find /var/cache/cgit -size +25M -mmin +45 -delete
  find /var/cache/cgit -mtime +1 -delete

Bob

Reply via email to