Article View: news.software.nntp
Article #31227Re: diablo backlogging fullfeed to inn
From: Matt Dillon
Date: Sun, 06 Sep 1998 00:00
Date: Sun, 06 Sep 1998 00:00
65 lines
3633 bytes
3633 bytes
:In article <6su8qp$pkp$1@nnrp1.dejanews.com>, <rbrons@euronet.nl> wrote:
:>Testing diablo 1.16, I had no problems at all full-feeding a local Inn (2.0)
:>client. However, after having switched operational newsservers from inn to
:>diablo, I do experience problems keeping the backlog down with some outbound
:>inn-clients receiving a full feed. These problems did not occur in the former
:>inn>>inn situation. Splitting the feed (control messages ahead) does not
:>help.
:>
:>Now dnewslink has been improved since the very first 1.16 versions. With the
:>rather substantial 1.16.b12 changes, I found dnewslink not stable enough yet.
:>So I sticked to 1.16.b8, but analysing the logs now related to these
:>inn-fullfeed clients, I am surprised by the amount of interrupts and other
:>delays dnewslink is suffering when trying to complete a batch to them. Is
:>this only due to inn (typically they use 1.7.x) or do we still have to refine
:>(the parameters of) dnewslink a bit? Does anyone have similar concerns? TIA,
:>Richard
Dnewslink & Diablo should be stable in 1.16 test 18. There were a number
of bugs fixed in earlier test releases related to the new history file
append mechanism but they should all be fixed in test 18.
You can also run more then one dnewslink in parallel using the 'n' option
in dnntpspool.ctl.
If you continue to have problems, I find that doing a syscall trace of
the dnewslink process ('ktrace' under FreeBSD, 'truss' under solaris,
etc...) can aid in locating where the bottleneck is.
You should also be able to locate the bottleneck by looking at
'netstat -tn' output, greping for the connection between dnewslink and
the remote INN. Do it a couple of times to get a feel as to where the data
is backing up. I typically setup dnntpspool like this for my
diablo-to-inn links (note: I do not do this for every feed since it eats
a lot of kernel memory):
nntp1 nntp1.ba.best.com 500 n4 T65536 R16384 nocheck q1
500 - Up to 500 queue files (probably overkill)
n4 - Up to four dnewslink's in parallel
Tnn - transmit buffer (big for downlink to inn)
Rnn - receive buffer (reasonable)
nocheck - don't bother with 'check' commands, just push 'takethis's.
q1 - 5 min queue delay (have another feed to push control msgs
ahead of articles).
What I typically see with my INN downlink is:
news1:/news> netstat -tn | fgrep 206.184.139.132
tcp 221 65536 209.24.149.21.3833 206.184.139.132.434 ESTABLISHED
^
A full TCP output buffer
i.e. my dnewslink is doing fine, INN is just not reading the data quickly
enough. I'm running an old version of INN, though. It is barely able
to keep up with a cancels-first spam-filtered feed.
-Matt
--
Matthew Dillon Engineering, HiWay Technologies, Inc. & BEST Internet
Communications
<dillon@best.net> (Please include original email in any response)
Technical Details
Message-ID:
<6suij8$b4n$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.software.nntp.mbox.zip!not-for-mailReferences:
<6su8qp$pkp$1@nnrp1.dejanews.com>Show Full Headers
Complete Article Headers
Message-ID: <6suij8$b4n$1@flea.best.net> Subject: Re: diablo backlogging fullfeed to inn Date: Sun, 06 Sep 1998 00:00:00 +0000 From: dillon@best.net (Matt Dillon) References: <6su8qp$pkp$1@nnrp1.dejanews.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 388456086 X-Trace: 905104812 27204 dillon 206.184.139.131 Organization: Best Internet Communications, Inc. Newsgroups: news.software.nntp