Thread View: news.software.nntp
2 messages
2 total messages
Started by USENET news
Sun, 08 Feb 1998 00:00
ctlinnd slowness during makehistory -buvn (INN 1.7.2+insync 1.1d)
Author: USENET news
Date: Sun, 08 Feb 1998 00:00
Date: Sun, 08 Feb 1998 00:00
81 lines
5153 bytes
5153 bytes
Summary: with makehistory -buvn running, the shiny new server that I'm
setting up seemed to be developing an incoming feed backlog and "ctlinnd
mode" was very slow - if anything worse than our heavily loaded old, slow
live server which was accepting articles significantly faster. Why...?
Our live server is a SPARC 10/51 running INN 1.5.1sec2 (no insync patches)
with Solaris 2.5. It's getting close to saturation, but still coping with
around 9000 groups (no alt.binaries!) - around 500-600MB/day.
I'm in the process of setting up a new server, using INN 1.7.2 + insync
patches 1.1d on a Sun Enterprise Server 450 with Solaris 2.6.
The spool is striped/mirrored using DiskSuite in both cases (and using the
metatrans logging facility in the case of the new system, separate mirrored
logs for spool and "the rest"). The new system has separate mirrored drives
for each of thread data, control files (exc. history), history, and logs,
whereas the old system has all but the spool on one mirrored drive. The new
system is receiving a couple of feeds (which with innxmit could be multiple
parallel, streaming feeds) but has no readers; it is, however, running
c-nocem and the CleanFeed Perl filter, neither of which is running on the
old server.
I have been running makehistory -buvn (and then expireover -a) routinely each
Sunday on the old server, and am now doing that on the new server, to pick
up any orphaned articles, etc. (though mostly unneeded ... there've been
times in the past when system problems on the old server made it more
important). Before you rush to say "why run makehistory unless you actually
need to?" or "use xxx instead", the problem that's worrying me is why it
seems to have an unexpectedly bad effect on news server performance on the
new system.
That's the background, now for the puzzle.
I noticed this morning that the live server's feed to the new server was
slightly backlogged, and with makehistory -buvn running on the new system
"ctlinnd mode" seemed very slow whereas (with little for the system to do)
it's normally "instant" (in contrast to the old, live server where it is
always fairly slow these days). Both systems running crosspost, and with
similar active file contents and expiry regimes.
With around 50 readers, makehistory -buvn running, and multiple inbound and
outbound feeds, the old server takes around 7 seconds elapsed time to give a
response to "ctlinnd mode". The new server, with far less work to do and the
file I/O spread over far more drives (and spread over five UltraSCSI
controllers) was taking slightly longer to respond (and even with the
makehistory process temporarily SIGSTOP'd it still took 3 seconds). The old,
slow server was managing to accept around 2-3 articles/second (enough to
keep up with the feed) with makehistory running, but the new server seemed
to be managing only about half an article per second. With makehistory
finished, the new server now responds to "ctlinnd mode" in 0.016s, and when
the new server's been catching up after downtime I've seen it accept 30-40
articles per second, so it's not inherently slow!).
There's clearly a fair amount of extra spool I/O while makehistory is
running, but it's not obvious to me why the new system with faster CPUs,
file I/O spread over more and faster drives, and (using only a small
fraction of) more memory, seemed to be seriously slowed down by makehistory -
worryingly so. It's supposed to be taking over the old server's workload in
the near future and performing slower from the outset (even if only in this
respect) seems like a bad start!
No obvious explanations spring to mind, and there are clearly a lot of
differences between the two systems, so no "obvious" area for investigation
... I'd be very interested in any suggestions for possible explanations or
things to check.
There is a complicating factor - I've had a few unexplained system hangs and
crashes ("panic: trap" in the latter case) on the new system, and am
awaiting news from Sun about what caused those (based on crash dumps) - no
obvious matching symptoms in the SunSolve web server's bug/patch databases.
It's therefore possible that there is actually an operating system or
hardware problem which could, perhaps be getting provoked (but not to the
extent of hanging or crashing) by makehistory.
John Line
--
Cambridge University Computing Service - USENET news manager.
newsmaster@ucs.cam.ac.uk (alias {newsmaster,news,usenet}@news.cam.ac.uk)
Re: ctlinnd slowness during makehistory -buvn (INN 1.7.2+insync 1.1d)
Author: USENET news
Date: Mon, 09 Feb 1998 00:00
Date: Mon, 09 Feb 1998 00:00
36 lines
2624 bytes
2624 bytes
Yesterday, in article <6bkdcv$qn9$1@lyra.csx.cam.ac.uk>, I wrote:
>Summary: with makehistory -buvn running, the shiny new server that I'm
>setting up seemed to be developing an incoming feed backlog and "ctlinnd
>mode" was very slow - if anything worse than our heavily loaded old, slow
>live server which was accepting articles significantly faster. Why...?
>...
>There is a complicating factor - I've had a few unexplained system hangs and
>crashes ("panic: trap" in the latter case) on the new system, and am
>awaiting news from Sun about what caused those (based on crash dumps) - no
>obvious matching symptoms in the SunSolve web server's bug/patch databases.
>It's therefore possible that there is actually an operating system or
>hardware problem which could, perhaps be getting provoked (but not to the
>extent of hanging or crashing) by makehistory.
Though it's inconclusive as yet, a further incident yesterday is tending
to point the finger at "system problems" causing the slowness, unclear yet
whether hardware or software. Following a system hang (accompanied for the
first time by console messages about SCSI oddities) and consequent reboot,
the system was quite happily accepting 15 or so articles per second while
running not one but three copies of "makehistory -buvn" (i.e. basically run
through the spool reading all articles and looking for orphaned articles;
done purely to add I/O load on the spool) for a while, compared to less than
one article/second at the time I noticed the slowness with just one copy of
makehistory running.
Any ideas for non-obvious points to check that could explain this
independent of the system problems would be of interest, but it looks like
there's probably no point spending much time puzzling over it at present.
John Line
--
Cambridge University Computing Service - USENET news manager. Usually John Line
newsmaster@ucs.cam.ac.uk (alias {newsmaster,news,usenet}@news.cam.ac.uk)
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