|
From: | Bob Proulx |
Subject: | [Savannah-hackers-public] vcs0 disk filling up, /var/cache/cgit again |
Date: | Thu, 9 Mar 2017 13:40:57 -0700 |
User-agent: | NeoMutt/20170113 (1.7.2) |
The disk on vcs0 is filling up again. The culprit is the /var/cache/cgit directory. address@hidden:/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
[Prev in Thread] | Current Thread | [Next in Thread] |