FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Infrastructure

 
 
LinkBack Thread Tools
 
Old 09-19-2008, 03:36 PM
Mike McGrath
 
Default Change request, log compression

I'd like to add the 'compress' term to logrotate for http logs on the app
servers. App2 is low on disk space right now and it would free up some
space.

-Mike

_______________________________________________
Fedora-infrastructure-list mailing list
Fedora-infrastructure-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-infrastructure-list
 
Old 09-19-2008, 03:43 PM
Mike McGrath
 
Default Change request, log compression

On Fri, 19 Sep 2008, Mike McGrath wrote:

> I'd like to add the 'compress' term to logrotate for http logs on the app
> servers. App2 is low on disk space right now and it would free up some
> space.
>

Two other things, I'd like to blow away a directory on app2:

/var/tmp/l10n-data/scratchdir/hg/virt-mem.tip

and run a cron job as apache

cd /srv/web/translation/; make > /dev/null; /usr/bin/python
update-stats.py >> /var/log/fedora-l10n/update-stats.`date +\%F`.log 2>&1;
/usr/sbin/tmpwatch --mtime 168 /var/log/fedora-l10n/

can I get two +1's on these 3 things?

-Mike

_______________________________________________
Fedora-infrastructure-list mailing list
Fedora-infrastructure-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-infrastructure-list
 
Old 09-19-2008, 03:45 PM
Seth Vidal
 
Default Change request, log compression

On Fri, 2008-09-19 at 10:43 -0500, Mike McGrath wrote:
> On Fri, 19 Sep 2008, Mike McGrath wrote:
>
> > I'd like to add the 'compress' term to logrotate for http logs on the app
> > servers. App2 is low on disk space right now and it would free up some
> > space.
> >
>

+1 to compress (though it concerns me that it might suck more cpu to do
it)

> Two other things, I'd like to blow away a directory on app2:
>
> /var/tmp/l10n-data/scratchdir/hg/virt-mem.tip
>
> and run a cron job as apache
>
> cd /srv/web/translation/; make > /dev/null; /usr/bin/python
> update-stats.py >> /var/log/fedora-l10n/update-stats.`date +\%F`.log 2>&1;
> /usr/sbin/tmpwatch --mtime 168 /var/log/fedora-l10n/
>
> can I get two +1's on these 3 things?

Has this one been tested?

-sv


_______________________________________________
Fedora-infrastructure-list mailing list
Fedora-infrastructure-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-infrastructure-list
 
Old 09-19-2008, 03:48 PM
Matt Domsch
 
Default Change request, log compression

On Fri, Sep 19, 2008 at 10:36:56AM -0500, Mike McGrath wrote:
> I'd like to add the 'compress' term to logrotate for http logs on the app
> servers. App2 is low on disk space right now and it would free up some
> space.

+1

--
Matt Domsch
Linux Technology Strategist, Dell Office of the CTO
linux.dell.com & www.dell.com/linux

_______________________________________________
Fedora-infrastructure-list mailing list
Fedora-infrastructure-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-infrastructure-list
 
Old 09-19-2008, 04:17 PM
Mike McGrath
 
Default Change request, log compression

On Fri, 19 Sep 2008, Seth Vidal wrote:

> On Fri, 2008-09-19 at 10:43 -0500, Mike McGrath wrote:
> > On Fri, 19 Sep 2008, Mike McGrath wrote:
> >
> > > I'd like to add the 'compress' term to logrotate for http logs on the app
> > > servers. App2 is low on disk space right now and it would free up some
> > > space.
> > >
> >
>
> +1 to compress (though it concerns me that it might suck more cpu to do
> it)
>
> > Two other things, I'd like to blow away a directory on app2:
> >
> > /var/tmp/l10n-data/scratchdir/hg/virt-mem.tip
> >
> > and run a cron job as apache
> >
> > cd /srv/web/translation/; make > /dev/null; /usr/bin/python
> > update-stats.py >> /var/log/fedora-l10n/update-stats.`date +\%F`.log 2>&1;
> > /usr/sbin/tmpwatch --mtime 168 /var/log/fedora-l10n/
> >
> > can I get two +1's on these 3 things?
>
> Has this one been tested?
>

The cron job runs pretty regularly anyway, it just needs an update after
the hg dir is gone. the virt-mem tip has over a G of kernel images in it
from the upstream repo for some reason.

-Mike

_______________________________________________
Fedora-infrastructure-list mailing list
Fedora-infrastructure-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-infrastructure-list
 

Thread Tools




All times are GMT. The time now is 10:28 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org