You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs-dev@perl.apache.org by Eric Cholet <ch...@logilune.com> on 2002/10/14 15:11:50 UTC

diskspace issue on daedalus

Hi root,

Please forgive me if this has already been reported to you. The cron job
that updates the perl.apache.org website has been reporting a diskspace
problem:

--On Monday, October 14, 2002 13:05:12 +0000 Cron Daemon 
<pe...@apache.org> wrote:

> online fs is full, cannot sync the online site at
> /home/perlwww/apache.org/modperl-docs/bin/site_build_force_pdf_index line
> 36.


% df
Filesystem  1K-blocks     Used   Avail Capacity  Mounted on
/dev/da0s1a   3969982  2395954 1256430    66%    /
/dev/da0s1e  12406325  9043569 2370250    79%    /x1
procfs              4        4       0   100%    /proc
/dev/da1s1e  17369075 15304660  674889    96%    /x2



--
Eric Cholet


---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org


Re: diskspace issue on daedalus

Posted by Eric Cholet <ch...@logilune.com>.

--On Tuesday, October 15, 2002 08:20:26 -0700 Bill Moseley 
<mo...@hank.org> wrote:

> At 04:31 PM 10/15/02 +0200, Per Einar Ellefsen wrote:
>> At 16:24 15.10.2002, Eric Cholet wrote:
>>>> It seems to work ok, but I'm wondering if my df/du knowledge is a
>>>> little limited... It reports 28M for dst_html, which seems a little
>>>> small, no?
>>>
>>> no, it seems correct to me:
>>>
>>> cholet@daedalus:/home/perlwww/apache.org/modperl-docs/dst_html% du -ks .
>>> 28389   .
>
> I must of read that as 280M by mistake.  All bets are off now that my eyes
> have passed that 40 years mark.

hey, mine passed that mark a few months ago as well.
NO EXCUSE!!!

Back to the topic at hand, In the message Brian posted to the Jakarta and 
XML
PMCs, he informs us that jakarta.apache.org is 8.7 GB, 7 of which are 
archived
build of every minor point release since inception.

:)

--
Eric Cholet


---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org


Re: diskspace issue on daedalus

Posted by Bill Moseley <mo...@hank.org>.
At 04:31 PM 10/15/02 +0200, Per Einar Ellefsen wrote:
>At 16:24 15.10.2002, Eric Cholet wrote:
>>>It seems to work ok, but I'm wondering if my df/du knowledge is a little
>>>limited... It reports 28M for dst_html, which seems a little small, no?
>>
>>no, it seems correct to me:
>>
>>cholet@daedalus:/home/perlwww/apache.org/modperl-docs/dst_html% du -ks .
>>28389   .

I must of read that as 280M by mistake.  All bets are off now that my eyes
have passed that 40 years mark.





-- 
Bill Moseley
mailto:moseley@hank.org

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org


Re: diskspace issue on daedalus

Posted by Per Einar Ellefsen <pe...@oslo.online.no>.
At 16:24 15.10.2002, Eric Cholet wrote:
>>It seems to work ok, but I'm wondering if my df/du knowledge is a little
>>limited... It reports 28M for dst_html, which seems a little small, no?
>
>no, it seems correct to me:
>
>cholet@daedalus:/home/perlwww/apache.org/modperl-docs/dst_html% du -ks .
>28389   .

Ok, thank you Eric.


-- 
Per Einar Ellefsen
pereinar@oslo.online.no



---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org


Re: diskspace issue on daedalus

Posted by Eric Cholet <ch...@logilune.com>.

--On Tuesday, October 15, 2002 16:13:38 +0200 Per Einar Ellefsen 
<pe...@oslo.online.no> wrote:

> At 11:46 15.10.2002, Eric Cholet wrote:
>> --On Monday, October 14, 2002 16:14:21 +0200 Eric Cholet
>> <ch...@logilune.com> wrote:
>>
>>> --On Monday, October 14, 2002 16:08:07 +0200 Per Einar Ellefsen
>>> <pe...@oslo.online.no> wrote:
>>>
>>>>> I suppose we could just bump the script up from 95% to, say, 98%.  The
>>>>> site is only about 120M and there's 650MB of free disk space.  Cutting
>>>>> it a bit close, I suppose...
>>>>
>>>> So long as we're not in an immediate hurry to get something published,
>>>> I prefer to wait out for the server being fixed.
>>>
>>> +1 (for not changing anything yet)
>>
>> Another thought: checking for a percentage of the disk capacity doesn't
>> seem to be relevant here. Perhaps we should be checking for an absolute
>> amount, say a few hundred megs. Of course we'd need to keep an eye on
>> that figure as the site grows.
>
> I just replaced the fs_is_full sub with this:
>
> sub fs_is_full {
>      # get available disk space
>      my $disk = qx{ df | grep /x2 };
>      my ($disk_avail) = ($disk =~ /(\d+)\s+\d+\%/); # avail is before
> capacity      # get size of site
>      my $site = qx{ du -c $rel | grep total };
>      my ($site_size) = ($site =~ /^(\d+)/);
>
>      # print "site_size = $site_size , disk_avail = $disk_avail";
>
>      # give us a margin of 50MB
>      return $site_size + 50*1024 > $disk_avail ? 1 : 0;
>
> }
>
> It seems to work ok, but I'm wondering if my df/du knowledge is a little
> limited... It reports 28M for dst_html, which seems a little small, no?

no, it seems correct to me:

cholet@daedalus:/home/perlwww/apache.org/modperl-docs/dst_html% du -ks .
28389	.


>
> --
> Per Einar Ellefsen
> pereinar@oslo.online.no
>



--
Eric Cholet


---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org


Re: diskspace issue on daedalus

Posted by Per Einar Ellefsen <pe...@oslo.online.no>.
At 11:46 15.10.2002, Eric Cholet wrote:
>--On Monday, October 14, 2002 16:14:21 +0200 Eric Cholet 
><ch...@logilune.com> wrote:
>
>>--On Monday, October 14, 2002 16:08:07 +0200 Per Einar Ellefsen
>><pe...@oslo.online.no> wrote:
>>
>>>>I suppose we could just bump the script up from 95% to, say, 98%.  The
>>>>site is only about 120M and there's 650MB of free disk space.  Cutting
>>>>it a bit close, I suppose...
>>>
>>>So long as we're not in an immediate hurry to get something published, I
>>>prefer to wait out for the server being fixed.
>>
>>+1 (for not changing anything yet)
>
>Another thought: checking for a percentage of the disk capacity doesn't
>seem to be relevant here. Perhaps we should be checking for an absolute
>amount, say a few hundred megs. Of course we'd need to keep an eye on that
>figure as the site grows.

I just replaced the fs_is_full sub with this:

sub fs_is_full {
     # get available disk space
     my $disk = qx{ df | grep /x2 };
     my ($disk_avail) = ($disk =~ /(\d+)\s+\d+\%/); # avail is before capacity
     # get size of site
     my $site = qx{ du -c $rel | grep total };
     my ($site_size) = ($site =~ /^(\d+)/);

     # print "site_size = $site_size , disk_avail = $disk_avail";

     # give us a margin of 50MB
     return $site_size + 50*1024 > $disk_avail ? 1 : 0;

}

It seems to work ok, but I'm wondering if my df/du knowledge is a little 
limited... It reports 28M for dst_html, which seems a little small, no?


-- 
Per Einar Ellefsen
pereinar@oslo.online.no



---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org


Re: diskspace issue on daedalus

Posted by Eric Cholet <ch...@logilune.com>.
--On Monday, October 14, 2002 16:14:21 +0200 Eric Cholet 
<ch...@logilune.com> wrote:

> --On Monday, October 14, 2002 16:08:07 +0200 Per Einar Ellefsen
> <pe...@oslo.online.no> wrote:
>
>>> I suppose we could just bump the script up from 95% to, say, 98%.  The
>>> site is only about 120M and there's 650MB of free disk space.  Cutting
>>> it a bit close, I suppose...
>>
>> So long as we're not in an immediate hurry to get something published, I
>> prefer to wait out for the server being fixed.
>
> +1 (for not changing anything yet)

Another thought: checking for a percentage of the disk capacity doesn't
seem to be relevant here. Perhaps we should be checking for an absolute
amount, say a few hundred megs. Of course we'd need to keep an eye on that
figure as the site grows.

--
Eric Cholet


---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org


Re: diskspace issue on daedalus

Posted by Eric Cholet <ch...@logilune.com>.
--On Monday, October 14, 2002 16:08:07 +0200 Per Einar Ellefsen 
<pe...@oslo.online.no> wrote:

>> I suppose we could just bump the script up from 95% to, say, 98%.  The
>> site is only about 120M and there's 650MB of free disk space.  Cutting
>> it a bit close, I suppose...
>
> So long as we're not in an immediate hurry to get something published, I
> prefer to wait out for the server being fixed.

+1 (for not changing anything yet)

--
Eric Cholet


---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org


Re: diskspace issue on daedalus

Posted by Per Einar Ellefsen <pe...@oslo.online.no>.
At 16:03 14.10.2002, Bill Moseley wrote:
>At 03:58 PM 10/14/02 +0200, Per Einar Ellefsen wrote:
> >At 15:22 14.10.2002, Bill Moseley wrote:
> >>At 03:11 PM 10/14/02 +0200, Eric Cholet wrote:
> >> >Hi root,
> >> >
> >> >Please forgive me if this has already been reported to you. The cron job
> >> >that updates the perl.apache.org website has been reporting a diskspace
> >> >problem:
> >>
> >>I emailed Brian yesterday about it -- wasn't sure if he was the right
> >>person or not.  I forgot to cc the list in that message, Sorry.
> >
> >Hehe, so did I :) No reply yet.
>
>I suppose we could just bump the script up from 95% to, say, 98%.  The site
>is only about 120M and there's 650MB of free disk space.  Cutting it a bit
>close, I suppose...

So long as we're not in an immediate hurry to get something published, I 
prefer to wait out for the server being fixed.


-- 
Per Einar Ellefsen
pereinar@oslo.online.no



---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org


Re: diskspace issue on daedalus

Posted by Bill Moseley <mo...@hank.org>.
At 03:58 PM 10/14/02 +0200, Per Einar Ellefsen wrote:
>At 15:22 14.10.2002, Bill Moseley wrote:
>>At 03:11 PM 10/14/02 +0200, Eric Cholet wrote:
>> >Hi root,
>> >
>> >Please forgive me if this has already been reported to you. The cron job
>> >that updates the perl.apache.org website has been reporting a diskspace
>> >problem:
>>
>>I emailed Brian yesterday about it -- wasn't sure if he was the right
>>person or not.  I forgot to cc the list in that message, Sorry.
>
>Hehe, so did I :) No reply yet.

I suppose we could just bump the script up from 95% to, say, 98%.  The site
is only about 120M and there's 650MB of free disk space.  Cutting it a bit
close, I suppose...


-- 
Bill Moseley
mailto:moseley@hank.org

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org


Re: diskspace issue on daedalus

Posted by Per Einar Ellefsen <pe...@oslo.online.no>.
At 15:22 14.10.2002, Bill Moseley wrote:
>At 03:11 PM 10/14/02 +0200, Eric Cholet wrote:
> >Hi root,
> >
> >Please forgive me if this has already been reported to you. The cron job
> >that updates the perl.apache.org website has been reporting a diskspace
> >problem:
>
>I emailed Brian yesterday about it -- wasn't sure if he was the right
>person or not.  I forgot to cc the list in that message, Sorry.

Hehe, so did I :) No reply yet.


-- 
Per Einar Ellefsen
pereinar@oslo.online.no



---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org


Re: diskspace issue on daedalus

Posted by Bill Moseley <mo...@hank.org>.
At 03:11 PM 10/14/02 +0200, Eric Cholet wrote:
>Hi root,
>
>Please forgive me if this has already been reported to you. The cron job
>that updates the perl.apache.org website has been reporting a diskspace
>problem:

I emailed Brian yesterday about it -- wasn't sure if he was the right
person or not.  I forgot to cc the list in that message, Sorry.


-- 
Bill Moseley
mailto:moseley@hank.org

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org


Re: disk space on /x2

Posted by Brian Behlendorf <br...@collab.net>.
Since I can't just walk into a projects' web space and start deleting
files, I've asked the two largest constituents of that space (the jakarta
and xml PMC's) to reduce their disk usage.  Hopefully it'll clear up by
tomorrow.

	Brian

On Sun, 13 Oct 2002, Bill Moseley wrote:
> I assume you saw that /X2 is getting full on daedalus.  The perl site is
> auto-generated and the build script complains when the mount is getting full.
>
> I just got off the ferry from San Francisco (I'm in Oakland).  Doesn't get
> much nicer around here.  You are around here, right?  Hope you got out and
> enjoyed it, too.
>

On Mon, 14 Oct 2002, Per Einar Ellefsen wrote:
> I manage the perl.apache.org site, and we have a script updating our site
> from CVS every 6 hours. It checks if the /www filesystem is filled up to
> 95% or more, and aborts if it is, because of the risk of losing files
> during copying.
> For the last 24 hours I've been receiving messages that the online
> filesystem is full, and I just checked today, and yes, it's filled up to 95%.

On Mon, 14 Oct 2002, Eric Cholet wrote:
> Please forgive me if this has already been reported to you. The cron job
> that updates the perl.apache.org website has been reporting a diskspace
> problem:
>


---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org