Hi, my /var partition seems full
df -h gives this
/dev/hdc2 372M 294M 59M 84% /
/dev/hda1 45M 14M 30M 31% /boot
/dev/hda3 34G 2.3G 30G 7% /home
none 503M 0 503M 0% /dev/shm
/dev/hdc1 36G 27G 8.1G 77% /usr
/dev/hda5 251M 210M 27M 89% /var
But i can't find the files. It aren't logs or anything.
If i do "du -h /var"
then the var partition uses only 48 megabyte
Anyone any idea what it might be??
Thanks
SynHost
12-07-2002, 03:56 PM
do:
du -h --summarize /var
and post the result.
Well, suddenly the problem seems fixed itself.
Filesystem Size Used Avail Use% Mounted on
/dev/hdc2 372M 261M 91M 74% /
/dev/hda1 45M 14M 30M 31% /boot
/dev/hda3 34G 2.3G 30G 7% /home
none 503M 0 503M 0% /dev/shm
/dev/hdc1 36G 27G 7.5G 79% /usr
/dev/hda5 251M 75M 162M 32% /var
I don't get it, since a logrotation couldn't have fixed it since the logs weren't that big.
Well, at leat the partition is now fine again
Thanks
Starhost
12-08-2002, 12:30 PM
Probably it was apache that didn't clear the space. Cuase you just deleted the logs :) A restart of apache would also have solved the problem.
clockwork
12-08-2002, 03:14 PM
250 megs for /var?
There's your first problem...
cactus
12-08-2002, 03:48 PM
Make sure you have logrotate install, an indication is if you look at your /var/log ...and it has e.g. lastlog, lastlog.1, etc. then you can assume it's installed otherwise your log file can grow enormously large. Check your "cron" jobs.
Originally posted by clockwork
250 megs for /var?
There's your first problem...
It's the default setting. And if logrotate is working then there isn't a problem. This system is running for 6 or 7 months now, and didn't haven any problems after i configured logrotate correct. But this suddenly appeared and then disappeared again.