Article View: news.software.nntp
Article #18539Re: News.daily soaks up time
From: Matt Dillon
Date: Fri, 20 Jun 1997 00:00
Date: Fri, 20 Jun 1997 00:00
31 lines
1878 bytes
1878 bytes
:In article <5obror$e45$1@scapa.cs.ualberta.ca>,
:Bruce Wm Folliott <bruce@cs.ualberta.ca> wrote:
:>
:>We discovered that the control newsgroup had not been expired
:>for some time; I have no idea how many articles were in the
:>directory but the directory file was quite large:
:>drwxr-xr-x 2 news news 4573696 Jun 18 09:06 /usr/spool/news/control
:>
:>With a fresh control newsgroup, things are back to normal.
:>
:>--
:>Bruce Wm Folliott <bruce@cs.ualberta.ca>
A friend's control.cancel newsgroup directory built up to 12MB+ and blew
the buffer cache. There were over 200,000 articles in the directory.
Each remove() had to scan 12MB+ from the physical disk and took about
5 seconds.
We renamed it, but rm -rf just wasn't going fast enough, so I wound up
hacking fsck to blow away the directory inode, then ran a normal fsck on
it with an expect script to clean things up. (add to lost+found? NO,
cleare inode? YES :-).
Moral of the story: never turn off expire, and set the expiration for
your control group to 1 day.
-Matt
Technical Details
Message-ID:
<5oenea$cf2$1@flea.best.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.technical.mbox.zip!not-for-mailReferences:
<5nrng3$mof@apple.telalink.net> <wkvi3ekeo3.fsf@vggas.com> <5obror$e45$1@scapa.cs.ualberta.ca>Show Full Headers
Complete Article Headers
Message-ID: <5oenea$cf2$1@flea.best.net> Subject: Re: News.daily soaks up time Date: Fri, 20 Jun 1997 00:00:00 +0000 From: dillon@best.net (Matt Dillon) References: <5nrng3$mof@apple.telalink.net> <wkvi3ekeo3.fsf@vggas.com> <5obror$e45$1@scapa.cs.ualberta.ca> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.technical.mbox.zip!not-for-mail X-Deja-AN: 251418997 Distribution: world Sender: zorch@ftp.UU.NET Organization: Best Internet Communications, Inc. - 415 964 BEST Newsgroups: news.admin.technical,news.software.nntp,news.software.b