|
[
Permalink
| « Hide
]
Martin Dougiamas added a comment - 12/May/08 11:10 AM
Seems OK now ...
Still exactly the same for me. Tried on three different machines at home / at work, and asked a couple of other people to try it too. Logged in or not makes no difference.
OK, fixed. There were too many files in /tmp ... tmpwatch was set to keep 10 days worth of files. That's now been reduced to 5.
Hi,
not sure why but /tmp was full again and tmpwatch (executed from cron.daily) wasn't doing its job, so the files in that dir never became reduced (from 32000). And nothing was working (file view, diffs...) So I've edited the cron.daily script and changed the line to: /usr/sbin/tmpwatch -x /tmp/.X11-unix -x /tmp/.XIM-unix -x /tmp/.font-unix -x /tmp/.ICE-unix -x /tmp/.Test-unix -fm 72 /tmp i.e. I've added the fm switches, to force deletion if root hasn't access + to use modify time, instead of access time. Also I've reduced it to 3 days (72) hours. Now there are only 5166 files. FYI, Jordan, Martin...ciao FYI, reduced to 24h.
/tmp was full again. Ciao Ah, i wasn't aware of this bug #..
Tim Hunt notified me of this a couple of days ago and i cleaned /tmp also. Eloy - should my script stay or be removed? runs at 12pm (moodle hq time) every day. #!/usr/bin/perl
my @files = `/usr/bin/find /tmp/ -atime +1 -mindepth 1 -maxdepth 1 2>/dev/null |grep '/tmp/rcs foreach $file (@files) { |
||||||||||||||||||||||||||||||||||||||||||||