public inbox for overseers@sourceware.org
 help / color / mirror / Atom feed
* /sourceware/cvs-tmp FULL!!
  2000-12-30  6:08 /sourceware/cvs-tmp FULL!! Andrew Cagney
@ 2000-09-08  0:27 ` Andrew Cagney
  2000-12-30  6:08 ` Andrew Cagney
  2000-12-30  6:08 ` Chris Faylor
  2 siblings, 0 replies; 18+ messages in thread
From: Andrew Cagney @ 2000-09-08  0:27 UTC (permalink / raw)
  To: Sources for Courses

[cagney@sourceware cvs-tmp]$ df -k /sourceware/cvs-tmp
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/sdd2               303243    287585         0 100%
/sourceware/cvs-tmp

	Andrew

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: /sourceware/cvs-tmp FULL!!
  2000-12-30  6:08 ` Chris Faylor
@ 2000-09-08  9:43   ` Chris Faylor
  2000-12-30  6:08   ` Jeffrey A Law
  1 sibling, 0 replies; 18+ messages in thread
From: Chris Faylor @ 2000-09-08  9:43 UTC (permalink / raw)
  To: Andrew Cagney; +Cc: Sources for Courses

On Fri, Sep 08, 2000 at 06:25:08PM +1100, Andrew Cagney wrote:
>[cagney@sourceware cvs-tmp]$ df -k /sourceware/cvs-tmp
>Filesystem           1k-blocks      Used Available Use% Mounted on
>/dev/sdd2               303243    287585         0 100%
>/sourceware/cvs-tmp

Looks like somebody cleaned it up?

cgf

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: /sourceware/cvs-tmp FULL!!
  2000-12-30  6:08   ` Jeffrey A Law
@ 2000-09-08  9:47     ` Jeffrey A Law
  2000-12-30  6:08     ` Chris Faylor
  1 sibling, 0 replies; 18+ messages in thread
From: Jeffrey A Law @ 2000-09-08  9:47 UTC (permalink / raw)
  To: overseers; +Cc: Andrew Cagney, Sources for Courses

  In message < 20000908124210.B13006@cygnus.com >you write:
  > On Fri, Sep 08, 2000 at 06:25:08PM +1100, Andrew Cagney wrote:
  > >[cagney@sourceware cvs-tmp]$ df -k /sourceware/cvs-tmp
  > >Filesystem           1k-blocks      Used Available Use% Mounted on
  > >/dev/sdd2               303243    287585         0 100%
  > >/sourceware/cvs-tmp
  > 
  > Looks like somebody cleaned it up?
It was clean by the time I looked at it this morning.

jeff

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: /sourceware/cvs-tmp FULL!!
  2000-12-30  6:08     ` Chris Faylor
@ 2000-09-08  9:49       ` Chris Faylor
  2000-12-30  6:08       ` Jeffrey A Law
  2000-12-30  6:08       ` Tom Tromey
  2 siblings, 0 replies; 18+ messages in thread
From: Chris Faylor @ 2000-09-08  9:49 UTC (permalink / raw)
  To: Jeffrey A Law; +Cc: overseers, Andrew Cagney, Sources for Courses

On Fri, Sep 08, 2000 at 10:47:54AM -0600, Jeffrey A Law wrote:
>
>  In message < 20000908124210.B13006@cygnus.com >you write:
>  > On Fri, Sep 08, 2000 at 06:25:08PM +1100, Andrew Cagney wrote:
>  > >[cagney@sourceware cvs-tmp]$ df -k /sourceware/cvs-tmp
>  > >Filesystem           1k-blocks      Used Available Use% Mounted on
>  > >/dev/sdd2               303243    287585         0 100%
>  > >/sourceware/cvs-tmp
>  > 
>  > Looks like somebody cleaned it up?
>It was clean by the time I looked at it this morning.

Should we add a "delete all files in cvs-tmp older than n days" cleanup
to cron?  Or is there something doing that already?

cgf

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: /sourceware/cvs-tmp FULL!!
  2000-12-30  6:08       ` Tom Tromey
@ 2000-09-08 10:07         ` Tom Tromey
  2000-12-30  6:08         ` Jeffrey A Law
  1 sibling, 0 replies; 18+ messages in thread
From: Tom Tromey @ 2000-09-08 10:07 UTC (permalink / raw)
  To: overseers; +Cc: Jeffrey A Law, Andrew Cagney, Sources for Courses

Chris> Should we add a "delete all files in cvs-tmp older than n days"
Chris> cleanup to cron?  Or is there something doing that already?

There is almost something doing it already:

15 3 * * * cd /sourceware/cvs-tmp; /usr/bin/find . -xdev -name '#*' -mtime +2 -type f -exec rm -f {} \;

This looks like it is built to clean up after log_accum only, though.
It won't remove old cvs-serv* stuff.
Maybe extending it to do that would be good.  What is the danger of
doing it?

Tom

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: /sourceware/cvs-tmp FULL!!
  2000-12-30  6:08       ` Jeffrey A Law
@ 2000-09-08 10:10         ` Jeffrey A Law
  0 siblings, 0 replies; 18+ messages in thread
From: Jeffrey A Law @ 2000-09-08 10:10 UTC (permalink / raw)
  To: overseers; +Cc: Andrew Cagney, Sources for Courses

  In message < 20000908124856.D13006@cygnus.com >you write:
  > On Fri, Sep 08, 2000 at 10:47:54AM -0600, Jeffrey A Law wrote:
  > >
  > >  In message < 20000908124210.B13006@cygnus.com >you write:
  > >  > On Fri, Sep 08, 2000 at 06:25:08PM +1100, Andrew Cagney wrote:
  > >  > >[cagney@sourceware cvs-tmp]$ df -k /sourceware/cvs-tmp
  > >  > >Filesystem           1k-blocks      Used Available Use% Mounted on
  > >  > >/dev/sdd2               303243    287585         0 100%
  > >  > >/sourceware/cvs-tmp
  > >  > 
  > >  > Looks like somebody cleaned it up?
  > >It was clean by the time I looked at it this morning.
  > 
  > Should we add a "delete all files in cvs-tmp older than n days" cleanup
  > to cron?  Or is there something doing that already?
I'm not aware of anything that's already doing this.  If we don't have
such a cleaner, we probably should add one.
jeff

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: /sourceware/cvs-tmp FULL!!
  2000-12-30  6:08         ` Jeffrey A Law
@ 2000-09-08 10:14           ` Jeffrey A Law
  0 siblings, 0 replies; 18+ messages in thread
From: Jeffrey A Law @ 2000-09-08 10:14 UTC (permalink / raw)
  To: tromey; +Cc: overseers, Andrew Cagney, Sources for Courses

  In message < 87lmx2yfgb.fsf@creche.cygnus.com >you write:
  > Chris> Should we add a "delete all files in cvs-tmp older than n days"
  > Chris> cleanup to cron?  Or is there something doing that already?
  > 
  > There is almost something doing it already:
  > 
  > 15 3 * * * cd /sourceware/cvs-tmp; /usr/bin/find . -xdev -name '#*' -mtime 
  > +2 -type f -exec rm -f {} \;
  > 
  > This looks like it is built to clean up after log_accum only, though.
  > It won't remove old cvs-serv* stuff.
  > Maybe extending it to do that would be good.  What is the danger of
  > doing it?
At the worst, the client side would abort if the cvs-serv files went away
from under it.  Consider if someone accidentally stopped a cvs update, then
realized it a few days later and restarted it (been there, done that :-)

I won't corrupt the repo on either end as far as I know.
jeff

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: /sourceware/cvs-tmp FULL!!
  2000-12-30  6:08 ` Andrew Cagney
@ 2000-09-10  4:03   ` Andrew Cagney
  2000-12-30  6:08   ` Phil Edwards
  1 sibling, 0 replies; 18+ messages in thread
From: Andrew Cagney @ 2000-09-10  4:03 UTC (permalink / raw)
  To: Sources for Courses

Andrew Cagney wrote:
> 
> [cagney@sourceware cvs-tmp]$ df -k /sourceware/cvs-tmp
> Filesystem           1k-blocks      Used Available Use% Mounted on
> /dev/sdd2               303243    287585         0 100%
> /sourceware/cvs-tmp

Given everyone is denying responsibility for fixing the problem I guess
it fixed itsself :-)
Some one must have been doing as jason suggested (full update) and when
that fell over it freed the space up again.

Thanks everyone for checking.

Tom Tromey wrote:
> 
> Chris> Should we add a "delete all files in cvs-tmp older than n days"
> Chris> cleanup to cron?  Or is there something doing that already?
> 
> There is almost something doing it already:
> 
> 15 3 * * * cd /sourceware/cvs-tmp; /usr/bin/find . -xdev -name '#*' -mtime +2 -type f -exec rm -f {} \;
> 
> This looks like it is built to clean up after log_accum only, though.
> It won't remove old cvs-serv* stuff.
> Maybe extending it to do that would be good.  What is the danger of
> doing it?

Depends on who it is being done as.  Isn't there a rule of thumb that
you should never run `find|xargs rm` as root?  I know you at least need
to be very careful.

	Andrew

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: /sourceware/cvs-tmp FULL!!
  2000-12-30  6:08   ` Phil Edwards
@ 2000-09-10 18:35     ` Phil Edwards
  0 siblings, 0 replies; 18+ messages in thread
From: Phil Edwards @ 2000-09-10 18:35 UTC (permalink / raw)
  To: overseers

On Sun, Sep 10, 2000 at 10:00:18PM +1100, Andrew Cagney wrote:
> 
> Depends on who it is being done as.  Isn't there a rule of thumb that
> you should never run `find|xargs rm` as root?  I know you at least need
> to be very careful.

"Works fer meeeee!"

A suitably paranoid script will suffice.  On my systems, for example,
the find(1) is very careful to ignore certain filenames, anything owned
by certain users, etc.  After building a list, occasionally some more
checking is done on the list elements, and /then/ the list gets fed to rm(1).


Phil

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: /sourceware/cvs-tmp FULL!!
  2000-12-30  6:08     ` Chris Faylor
  2000-09-08  9:49       ` Chris Faylor
  2000-12-30  6:08       ` Jeffrey A Law
@ 2000-12-30  6:08       ` Tom Tromey
  2000-09-08 10:07         ` Tom Tromey
  2000-12-30  6:08         ` Jeffrey A Law
  2 siblings, 2 replies; 18+ messages in thread
From: Tom Tromey @ 2000-12-30  6:08 UTC (permalink / raw)
  To: overseers; +Cc: Jeffrey A Law, Andrew Cagney, Sources for Courses

Chris> Should we add a "delete all files in cvs-tmp older than n days"
Chris> cleanup to cron?  Or is there something doing that already?

There is almost something doing it already:

15 3 * * * cd /sourceware/cvs-tmp; /usr/bin/find . -xdev -name '#*' -mtime +2 -type f -exec rm -f {} \;

This looks like it is built to clean up after log_accum only, though.
It won't remove old cvs-serv* stuff.
Maybe extending it to do that would be good.  What is the danger of
doing it?

Tom

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: /sourceware/cvs-tmp FULL!!
  2000-12-30  6:08 /sourceware/cvs-tmp FULL!! Andrew Cagney
  2000-09-08  0:27 ` Andrew Cagney
  2000-12-30  6:08 ` Andrew Cagney
@ 2000-12-30  6:08 ` Chris Faylor
  2000-09-08  9:43   ` Chris Faylor
  2000-12-30  6:08   ` Jeffrey A Law
  2 siblings, 2 replies; 18+ messages in thread
From: Chris Faylor @ 2000-12-30  6:08 UTC (permalink / raw)
  To: Andrew Cagney; +Cc: Sources for Courses

On Fri, Sep 08, 2000 at 06:25:08PM +1100, Andrew Cagney wrote:
>[cagney@sourceware cvs-tmp]$ df -k /sourceware/cvs-tmp
>Filesystem           1k-blocks      Used Available Use% Mounted on
>/dev/sdd2               303243    287585         0 100%
>/sourceware/cvs-tmp

Looks like somebody cleaned it up?

cgf

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: /sourceware/cvs-tmp FULL!!
  2000-12-30  6:08 ` Andrew Cagney
  2000-09-10  4:03   ` Andrew Cagney
@ 2000-12-30  6:08   ` Phil Edwards
  2000-09-10 18:35     ` Phil Edwards
  1 sibling, 1 reply; 18+ messages in thread
From: Phil Edwards @ 2000-12-30  6:08 UTC (permalink / raw)
  To: overseers

On Sun, Sep 10, 2000 at 10:00:18PM +1100, Andrew Cagney wrote:
> 
> Depends on who it is being done as.  Isn't there a rule of thumb that
> you should never run `find|xargs rm` as root?  I know you at least need
> to be very careful.

"Works fer meeeee!"

A suitably paranoid script will suffice.  On my systems, for example,
the find(1) is very careful to ignore certain filenames, anything owned
by certain users, etc.  After building a list, occasionally some more
checking is done on the list elements, and /then/ the list gets fed to rm(1).


Phil

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: /sourceware/cvs-tmp FULL!!
  2000-12-30  6:08     ` Chris Faylor
  2000-09-08  9:49       ` Chris Faylor
@ 2000-12-30  6:08       ` Jeffrey A Law
  2000-09-08 10:10         ` Jeffrey A Law
  2000-12-30  6:08       ` Tom Tromey
  2 siblings, 1 reply; 18+ messages in thread
From: Jeffrey A Law @ 2000-12-30  6:08 UTC (permalink / raw)
  To: overseers; +Cc: Andrew Cagney, Sources for Courses

  In message < 20000908124856.D13006@cygnus.com >you write:
  > On Fri, Sep 08, 2000 at 10:47:54AM -0600, Jeffrey A Law wrote:
  > >
  > >  In message < 20000908124210.B13006@cygnus.com >you write:
  > >  > On Fri, Sep 08, 2000 at 06:25:08PM +1100, Andrew Cagney wrote:
  > >  > >[cagney@sourceware cvs-tmp]$ df -k /sourceware/cvs-tmp
  > >  > >Filesystem           1k-blocks      Used Available Use% Mounted on
  > >  > >/dev/sdd2               303243    287585         0 100%
  > >  > >/sourceware/cvs-tmp
  > >  > 
  > >  > Looks like somebody cleaned it up?
  > >It was clean by the time I looked at it this morning.
  > 
  > Should we add a "delete all files in cvs-tmp older than n days" cleanup
  > to cron?  Or is there something doing that already?
I'm not aware of anything that's already doing this.  If we don't have
such a cleaner, we probably should add one.
jeff

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: /sourceware/cvs-tmp FULL!!
  2000-12-30  6:08 /sourceware/cvs-tmp FULL!! Andrew Cagney
  2000-09-08  0:27 ` Andrew Cagney
@ 2000-12-30  6:08 ` Andrew Cagney
  2000-09-10  4:03   ` Andrew Cagney
  2000-12-30  6:08   ` Phil Edwards
  2000-12-30  6:08 ` Chris Faylor
  2 siblings, 2 replies; 18+ messages in thread
From: Andrew Cagney @ 2000-12-30  6:08 UTC (permalink / raw)
  To: Sources for Courses

Andrew Cagney wrote:
> 
> [cagney@sourceware cvs-tmp]$ df -k /sourceware/cvs-tmp
> Filesystem           1k-blocks      Used Available Use% Mounted on
> /dev/sdd2               303243    287585         0 100%
> /sourceware/cvs-tmp

Given everyone is denying responsibility for fixing the problem I guess
it fixed itsself :-)
Some one must have been doing as jason suggested (full update) and when
that fell over it freed the space up again.

Thanks everyone for checking.

Tom Tromey wrote:
> 
> Chris> Should we add a "delete all files in cvs-tmp older than n days"
> Chris> cleanup to cron?  Or is there something doing that already?
> 
> There is almost something doing it already:
> 
> 15 3 * * * cd /sourceware/cvs-tmp; /usr/bin/find . -xdev -name '#*' -mtime +2 -type f -exec rm -f {} \;
> 
> This looks like it is built to clean up after log_accum only, though.
> It won't remove old cvs-serv* stuff.
> Maybe extending it to do that would be good.  What is the danger of
> doing it?

Depends on who it is being done as.  Isn't there a rule of thumb that
you should never run `find|xargs rm` as root?  I know you at least need
to be very careful.

	Andrew

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: /sourceware/cvs-tmp FULL!!
  2000-12-30  6:08   ` Jeffrey A Law
  2000-09-08  9:47     ` Jeffrey A Law
@ 2000-12-30  6:08     ` Chris Faylor
  2000-09-08  9:49       ` Chris Faylor
                         ` (2 more replies)
  1 sibling, 3 replies; 18+ messages in thread
From: Chris Faylor @ 2000-12-30  6:08 UTC (permalink / raw)
  To: Jeffrey A Law; +Cc: overseers, Andrew Cagney, Sources for Courses

On Fri, Sep 08, 2000 at 10:47:54AM -0600, Jeffrey A Law wrote:
>
>  In message < 20000908124210.B13006@cygnus.com >you write:
>  > On Fri, Sep 08, 2000 at 06:25:08PM +1100, Andrew Cagney wrote:
>  > >[cagney@sourceware cvs-tmp]$ df -k /sourceware/cvs-tmp
>  > >Filesystem           1k-blocks      Used Available Use% Mounted on
>  > >/dev/sdd2               303243    287585         0 100%
>  > >/sourceware/cvs-tmp
>  > 
>  > Looks like somebody cleaned it up?
>It was clean by the time I looked at it this morning.

Should we add a "delete all files in cvs-tmp older than n days" cleanup
to cron?  Or is there something doing that already?

cgf

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: /sourceware/cvs-tmp FULL!!
  2000-12-30  6:08 ` Chris Faylor
  2000-09-08  9:43   ` Chris Faylor
@ 2000-12-30  6:08   ` Jeffrey A Law
  2000-09-08  9:47     ` Jeffrey A Law
  2000-12-30  6:08     ` Chris Faylor
  1 sibling, 2 replies; 18+ messages in thread
From: Jeffrey A Law @ 2000-12-30  6:08 UTC (permalink / raw)
  To: overseers; +Cc: Andrew Cagney, Sources for Courses

  In message < 20000908124210.B13006@cygnus.com >you write:
  > On Fri, Sep 08, 2000 at 06:25:08PM +1100, Andrew Cagney wrote:
  > >[cagney@sourceware cvs-tmp]$ df -k /sourceware/cvs-tmp
  > >Filesystem           1k-blocks      Used Available Use% Mounted on
  > >/dev/sdd2               303243    287585         0 100%
  > >/sourceware/cvs-tmp
  > 
  > Looks like somebody cleaned it up?
It was clean by the time I looked at it this morning.

jeff

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: /sourceware/cvs-tmp FULL!!
  2000-12-30  6:08       ` Tom Tromey
  2000-09-08 10:07         ` Tom Tromey
@ 2000-12-30  6:08         ` Jeffrey A Law
  2000-09-08 10:14           ` Jeffrey A Law
  1 sibling, 1 reply; 18+ messages in thread
From: Jeffrey A Law @ 2000-12-30  6:08 UTC (permalink / raw)
  To: tromey; +Cc: overseers, Andrew Cagney, Sources for Courses

  In message < 87lmx2yfgb.fsf@creche.cygnus.com >you write:
  > Chris> Should we add a "delete all files in cvs-tmp older than n days"
  > Chris> cleanup to cron?  Or is there something doing that already?
  > 
  > There is almost something doing it already:
  > 
  > 15 3 * * * cd /sourceware/cvs-tmp; /usr/bin/find . -xdev -name '#*' -mtime 
  > +2 -type f -exec rm -f {} \;
  > 
  > This looks like it is built to clean up after log_accum only, though.
  > It won't remove old cvs-serv* stuff.
  > Maybe extending it to do that would be good.  What is the danger of
  > doing it?
At the worst, the client side would abort if the cvs-serv files went away
from under it.  Consider if someone accidentally stopped a cvs update, then
realized it a few days later and restarted it (been there, done that :-)

I won't corrupt the repo on either end as far as I know.
jeff

^ permalink raw reply	[flat|nested] 18+ messages in thread

* /sourceware/cvs-tmp FULL!!
@ 2000-12-30  6:08 Andrew Cagney
  2000-09-08  0:27 ` Andrew Cagney
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: Andrew Cagney @ 2000-12-30  6:08 UTC (permalink / raw)
  To: Sources for Courses

[cagney@sourceware cvs-tmp]$ df -k /sourceware/cvs-tmp
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/sdd2               303243    287585         0 100%
/sourceware/cvs-tmp

	Andrew

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2000-12-30  6:08 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-30  6:08 /sourceware/cvs-tmp FULL!! Andrew Cagney
2000-09-08  0:27 ` Andrew Cagney
2000-12-30  6:08 ` Andrew Cagney
2000-09-10  4:03   ` Andrew Cagney
2000-12-30  6:08   ` Phil Edwards
2000-09-10 18:35     ` Phil Edwards
2000-12-30  6:08 ` Chris Faylor
2000-09-08  9:43   ` Chris Faylor
2000-12-30  6:08   ` Jeffrey A Law
2000-09-08  9:47     ` Jeffrey A Law
2000-12-30  6:08     ` Chris Faylor
2000-09-08  9:49       ` Chris Faylor
2000-12-30  6:08       ` Jeffrey A Law
2000-09-08 10:10         ` Jeffrey A Law
2000-12-30  6:08       ` Tom Tromey
2000-09-08 10:07         ` Tom Tromey
2000-12-30  6:08         ` Jeffrey A Law
2000-09-08 10:14           ` Jeffrey A Law

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).