Disk usage ( / ) is 100%
-
So
du -Pshx /var/*
du -Pshx /var/log/*
to track it down.
-
Thank you for your reply @teamits
My system is not running Suricata? -
@provels
I clear that check box and reset the logs files. But still 100%. -
@provels said in Disk usage ( / ) is 100%:
du -Pshx /var/log/*
I use above command in Command Prompt. But still 100%.
-
@FroLien Can you post the output results?
-
Hi @provels
Thank you for your quick reply. May I show you my output results. -
Dear @teamits
I am not running Suricata on my system. -
@FroLien Looks like it's your Squid cache (I think so anyway, I don't run Squid). I think you just need a larger disk. Can you expand it? Maybe to 20GB?
-
-
@provels
OppsI deleted logs folder from /var/squid
After I deleted it, i got over half of free space.I deleted it with this command.
rm -r /var/squid/logs in shell (8) -
@FroLien It's not the logs, it's the cached info that Squid serves (images, etc, etc) so they don't have to be retrieved again from the Internet. How much disk space do you have allocated for Squid in settings?
EDIT - Well OK then... :) It was the logs... I don't have Squid installed, so I don't know what the file structure is at that level. I still think I'd make your disk about 10-20GB...
-
Hi @provels
How can I check disk space of Squid? -
Hi @provels
I think this is it? Please educate me how much space should I assign. -
@FroLien Those look like the defaults. But look on the Squid General /Logging Settings. You can either A) Disable logging or B) Set a period to rotate the logs (maybe a day? a week?). By default rotation is disabled, so the logs will keep growing until you run out of disk. If you are logging in Squidguard, too, you should also turn on rotation on first settings page.
-
Almost always enabling squid logging without enabling rotation.