Network Guardian /var/log Disk Usage Slowly Disappearing...
Posted on 2008-11-04
The /var/log partition is steadily losing disk space despite setting logging settings to only retain a days worth of logs.
I have the option set for "Delete old logs when free space is low:"
checked and the amount of disk space to use for logging is configured to the lowest value, 50%.
Free space does vary (for example 3.5 gigs then back up to 4.3 gigs) but the total free space appears to be gradually disappearing. Last week, the variation was between 5.8 and 6.2 gigs free but this week it is between 3.5 and 4.3.
There are about 150 users actively using the proxy at the same time. The proxy is running on a 1GB VM (Virtual Machine) with 20 gigs of HDD space which is larger than SmoothWall's recommendation.
I have tried once before with a 10 GB VM and the /var/log folder filled up completely (despite the same log settings mentioned above) and the web proxy and web content filter daemons completely stopped.
I also used the command "du -hs /var/log/* | sort -nr | head" to find the largest folder but the largest folder in /var/log is only 105 megs.
I am hesitant to perform any "hacks" because when logging in via SSH, the following message is displayed:
"WARNING: Any modifications to files or configurations made outside the
SmoothWall Web Interface or Setup Program will void any support
entitlement unless said change was requested in writing by an authorized
SmoothWall Support Engineer."
Has anyone ever run into this issue and found a solution?