Thread View: news.software.nntp
6 messages
6 total messages
Started by James Campbell
Fri, 13 Jun 1997 00:00
News.daily soaks up time
Author: James Campbell
Date: Fri, 13 Jun 1997 00:00
Date: Fri, 13 Jun 1997 00:00
15 lines
1154 bytes
1154 bytes
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). Is this normal, and is there a way that I can make it run faster? I am running INN1.4unoff4. James Campbell --- mailto:<james@telalink.net>
Re: News.daily soaks up time
Author: James Youngman
Date: Mon, 16 Jun 1997 00:00
Date: Mon, 16 Jun 1997 00:00
15 lines
1285 bytes
1285 bytes
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). This often happens when fastrm is passed an unsorted list of files. Make sure that your /tmp is big enough to sort the list from fastrm; if not, set TMPDIR in innshellvars or modify news.daily.
Re: News.daily soaks up time
Author: Bruce Wm Folliott
Date: Fri, 20 Jun 1997 00:00
Date: Fri, 20 Jun 1997 00:00
31 lines
1909 bytes
1909 bytes
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). >This often happens when fastrm is passed an unsorted list of files. >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 With a fresh control newsgroup, things are back to normal. -- Bruce Wm Folliott <bruce@cs.ualberta.ca>
Re: News.daily soaks up time
Author: 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
Re: News.daily soaks up time
Author: Igor Brezac
Date: Fri, 20 Jun 1997 00:00
Date: Fri, 20 Jun 1997 00:00
19 lines
1018 bytes
1018 bytes
On 20 Jun 1997, Matt Dillon wrote: > Moral of the story: never turn off expire, and set the expiration for > your control group to 1 day. > Why not setting expire to 0 or even running a cron job to clean control.cancel group during the day? I get +75,000 cancel articles per day!! Regards, Igor
Re: News.daily soaks up time
Author: 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads