Article View: news.software.nntp
Article #18617Re: News.daily soaks up time
From: Jungshik Shin
Date: Mon, 23 Jun 1997 00:00
Date: Mon, 23 Jun 1997 00:00
70 lines
3997 bytes
3997 bytes
In <5obror$e45$1@scapa.cs.ualberta.ca>, Bruce Wm Folliott wrote:
: JYoungman@vggas.com (James Youngman) writes:
: >gandalf@telalink.net (James Campbell) writes:
: >> News.daily is taking an enourmous amount of time to run each night. I have found that both expire and expireover run in about 45 minutes each, and that the
: >> time taken for other things (rolling logs, renumbering active), are also
: >> fairly small. It appears, however, that expirerm (running fastrm) takes an
: >> horrendous amount of time to run (hours).
On a server I have only a 'partial' control of, expire takes only a
few minutes, but expireover takes 30-40 minutes on the spool of
7GB(overview is not in separate hierarchy) with about 70% full.
fastrm takes 3 hours or so. I thought it's normal, but according to you,
something is wrong with my server, too. For sure, it must depend on
what kind of server one has. The one in question is SS-20 running INN
1.4(yes, I need to upgrade, but..) under Solaris 2.5.1 with 7GB(I think
it's RAID0,but not sure) and RAM ?? (yes, it's embarassing to admit
that I don't even know the size of memory on the machine, but without
permission to run vmstat or sar, there's much I can't do)
: >This often happens when fastrm is passed an unsorted list of files.
It's not the case on my server. expire.rm is certainly sorted
as I checked this morning and several times before.
: >Make sure that your /tmp is big enough to sort the list from fastrm;
: >if not, set TMPDIR in innshellvars or modify news.daily.
: We experienced a similiar problem, fastrm would take several
: hours and the system CPU usage would be near 100% for most
: of that time.
: 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
I looked into this and found following
news[news]:~/adm/reports> ls -ld /var/spool/news/control
drwxrwxr-x 2 news 1356800 Jun 22 06:58 /var/spool/news/control
It has about 50,000 cancel messages in it right before news.daily is
launched. Actually, there were a week-old 20,000 extra messages which
hadn't been removed and which I removed a few hours before news.daily
ran earlier this morning(those messages are already expired according to
records in 'history' file so that I didn't have to worry about messing
up history db.) The entry for control group in expire.ctl is
control:A:0:0.3:0.5
For some reason unknown to me(or is it normail in 'antique' inn 1.4?
or is it configuration dependent? I didn't install the server and
config.data is not available any more), all the control messages are
stored in a single group control instead of control.* hierarchy.
: With a fresh control newsgroup, things are back to normal.
This morning, even with control group containing no article older than
a day, expireover took 30 minutes and expirerm took 3+ hours.
I'm wondering if it's abnormail and I have to do something to remedy
given the server configuration mentioned above.
Thanks tons in advance,
Jungshik Shin
Technical Details
Message-ID:
<5oj2f1$610@photon.hgs.yale.edu>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: <5oj2f1$610@photon.hgs.yale.edu> Subject: Re: News.daily soaks up time Date: Mon, 23 Jun 1997 00:00:00 +0000 From: jshin@pantheon.yale.edu (Jungshik Shin) 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: 252129867 Distribution: world Sender: zorch@ftp.UU.NET Organization: Yale University, Physics Dept. Reply-To: jshin@pantheon.yale.edu Newsgroups: news.admin.technical,news.software.nntp