[BlueOnyx:15775] Re: /var partition frequently filling up
Felix Kaegi
f.kaegi at fairtalk.com
Tue Aug 12 14:23:48 -05 2014
Hi Gustavo
Thanks for the tips. I changed the rotate length and activated the compression.
Would you know where I find the individual settings for the log files ‘messages’ and ‘btmp’?
Best wishes
Felix
From: blueonyx-bounces at mail.blueonyx.it [mailto:blueonyx-bounces at mail.blueonyx.it] On Behalf Of Gustavo Silva
Sent: Dienstag, 12. August 2014 19:09
To: BlueOnyx General Mailing List
Subject: [BlueOnyx:15774] Re: /var partition frequently filling up
Usually in my case, logs end up filling up the /var partition after a year or so. Check out the /etc/logrotate.conf and individual /etc/logrotate.d/ settings and also make sure compress is enabled. That should lower the usage. Hope this helps.
Gustavo
2014-08-12 17:37 GMT+01:00 Felix Kaegi <f.kaegi at fairtalk.com>:
Hi Steve
Thanks for the hint.
The main result is:
1419152 /var/lib
1299684 /var/log
In /var/log it is mainly the messages and btmp files that occupy hundreds of megabytes.
Any further help would be appreciated.
From: blueonyx-bounces at mail.blueonyx.it <mailto:blueonyx-bounces at mail.blueonyx.it> [mailto:blueonyx-bounces at mail.blueonyx.it <mailto:blueonyx-bounces at mail.blueonyx.it> ] On Behalf Of Steven Howes
Sent: Dienstag, 12. August 2014 17:34
To: BlueOnyx General Mailing List
Subject: [BlueOnyx:15770] Re: /var partition frequently filling up
On 12 Aug 2014, at 16:21, Felix Kaegi <f.kaegi at fairtalk.com <mailto:f.kaegi at fairtalk.com> > wrote:
The /var partition on our SL/BlueOnyx server is frequently filling up. The partition has 4GB of disk space and BO reports a 96% disk usage and refuses to do YUM updates and even terminates the mail server.
How best to resolve this on a permanent basis?
Find out what’s causing it. Look around and see where the space has gone.
Run:
du --max-depth=1 /var
And see where it’s all used. You can remove the /var of the end and CD into directories to see where it’s gone, working down through layers until you find it.
Steve
_______________________________________________
Blueonyx mailing list
Blueonyx at mail.blueonyx.it <mailto:Blueonyx at mail.blueonyx.it>
http://mail.blueonyx.it/mailman/listinfo/blueonyx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20140812/abd79067/attachment.html>
More information about the Blueonyx
mailing list