Freeing space on menubar

View: New views
2 Messages — Rating Filter:   Alert me  

Freeing space on menubar

by Olav Vitters :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Could someone clean it up a bit? The postfix logs are 10GB/week since 2
weeks or so (it WILL run out of space really soon). Plus a p0f logfile.

Maybe compress the logfiles, maybe keep less logfiles. At least the
postfix should be daily, not weekly. Grepping through GB+ logfiles is
excessive.

$ du -sh /var/log
31G     /var/log

$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/md2               66G   57G  5.9G  91% /

$ ls -lh | egrep maillog\|p0f
-rw-r----- 1 root   sysadmin 2.4G Oct  6 09:36 maillog
-rw-r----- 1 root   sysadmin 9.4G Oct  4 05:28 maillog.1
-rw-r----- 1 root   sysadmin 9.4G Sep 27 05:23 maillog.2
-rw-r----- 1 root   sysadmin 3.5G Sep 20 05:20 maillog.3
-rw-r----- 1 root   sysadmin 2.2G Sep 13 04:25 maillog.4
-rw------- 1 root   root     2.0G Mar  7  2008 p0f

--
Regards,
Olav

Transcript of session follows.

 Out: 220 menubar.gnome.org ESMTP Postfix
 In:  HELO altelco.net
 Out: 250 menubar.gnome.org
 In:  MAIL FROM:<majordomo@...>
 Out: 452 4.3.1 Insufficient system storage

Session aborted, reason: lost connection

_______________________________________________
gnome-infrastructure mailing list
gnome-infrastructure@...
http://mail.gnome.org/mailman/listinfo/gnome-infrastructure

Freeing space on bugzilla-web (was Re: Freeing space on menubar)

by Owen Taylor :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 2009-10-06 at 11:37 +0200, Olav Vitters wrote:
> Could someone clean it up a bit? The postfix logs are 10GB/week since 2
> weeks or so (it WILL run out of space really soon). Plus a p0f logfile.
>
> Maybe compress the logfiles, maybe keep less logfiles. At least the
> postfix should be daily, not weekly. Grepping through GB+ logfiles is
> excessive.

Just found we were out of space on bugzilla-web.gnome.org causing
problems with uploading attachments, sending mail, etc.

It doesn't have a very big / - just 5G including the system image, and
we had ~2.7G of log files.

I added logrotate to our puppet moduleset and configured it to compress
log files by default - when the old log files were compressed that took
the space usage down to about 500M.

This is global across all log files on all our puppet-managed systems -
it seems like the right default.

Menubar isn't puppet managed yet, so it won't help with problem that
Olav is pointing out, someone still needs to deal with that.

- Owen


_______________________________________________
gnome-infrastructure mailing list
gnome-infrastructure@...
http://mail.gnome.org/mailman/listinfo/gnome-infrastructure