PDA

View Full Version : /var problems


Keith
04-28-2005, 23:12
Well my /var keeps hiting 100% within two hours of me removing the bz2 files.

I have log rotation on, but it still filles within two hours.

Does anyone have any ideas on how I can fix this?

mikron15
04-28-2005, 23:17
Have you identified whats eating all that partition space? I believe Mysql stores db in the /var section..set alternate paths for progs that are resource hog to diff partition or increase ur /var partition size ( involves re-installation)

Keith
04-28-2005, 23:23
Yeah I dont want to reinstall...

I have cleared the .bz2's but its still 100% full....

Is it safe to delete the .log files? I think they are taking up a large % of space....

Keith
04-28-2005, 23:50
Device Total Space Space Used Space Available Percentage Used Mounted On
/dev/ad0s1d 248M 228M 132K 100% /var

How can I iether make this space bigger or remove usless data?

I am not too good at this part.

Keith
05-01-2005, 22:49
Any suggestions?

CyberCr33p
05-02-2005, 10:56
You can use du -s /var/* to see what folder eats the most space. You can continue with the same tactic to find the big file(s). Also keep in mind that maybe someone stores files in /var/tmp. You can link /var/tmp to /tmp if you have it in a seperate partition to avoid it.