Article View: news.software.nntp
Article #30187Re: [Diablo] Removing newsfeed
From: Matt Dillon
Date: Thu, 30 Jul 1998 00:00
Date: Thu, 30 Jul 1998 00:00
65 lines
3129 bytes
3129 bytes
:In article <slrn6s0ljt.4gv.dw@coredump.nowhere.dk>,
:Allan Joergensen <NO!> wrote:
:>On 28 Jul 1998 00:21:36 -0700, Matt Dillon <dillon@best.net>
:> wrote in <6pju60$51r$1@flea.best.net>:
:>
:>> cd into /news/dqueue and remove any left-over queue files. For
:>> example, if the name of the feed was 'fubar' you would:
:>
:>Silly me :)..
:>
:>Well, I have another more difficult question regarding 1.13
:>
:>I have a downlink wich is having problems keeping up with the amount of
:>news we are feeding him.
:>
:>He's on a 2Mbit with 8 streams and still the queue keeps growing.
:>
:>1) How "big" is a stream
Do a 'netstat -tn | fgrep his.news.boxes.ip.address' and look at
the TCP input and output queues. If the output queue is mostly full
then either the pipe isn't big enough or the receiving machine is
too slow. If the input queue is full and the output queue is empty,
your local news machine may have problems. If both queues are empty
the local dnewslink is probably waiting for an acknowledgement from
the remote news machine and, again, the remote news machine may be
too slow.
You are running 'n8' in dspoolout.ctl ? If he can't keep up, you may
need to research it a little more.
You can temporarily comment out the line in dspoolout.ctl, kill any
dnewslinks that are running to that destination, and then try running one
dnewslink manually with the '-d2' option. For example, if his diablo is
running on port 435 on machine fubar.com, something like:
cd /news/dqueue
ls fubar* (get a list of queue files ready to go out)
dnewslink -h fubar.com -P 435 -b fubar.S07018 -d2
You should be able to determine where the bottleneck is by looking at
the delta timestamps. You may also want to ktrace (ktrace if running
FreeBSD, strace for linux, truss for solaris I think, etc...) i.e.
system call tracer on the dnewslink process as well.
Remember to reenable the entry in dspoolout.ctl when you are through,
though :-)
-Matt
:>2) Is there a way of sorting the articles, say 6 streams for articles <
:>4KB and 2 for the rest?
:>
:>--
:>Allan "[DW]" Joergensen - <URL:http://www.nowhere.dk>
--
Matthew Dillon Engineering, HiWay Technologies, Inc. & BEST Internet
Communications
<dillon@best.net> (Please include original email in any response)
Technical Details
Message-ID:
<6pqbt0$c0m$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:
<slrn6rqs27.6kb.dw@coredump.nowhere.dk> <6pju60$51r$1@flea.best.net> <slrn6s0ljt.4gv.dw@coredump.nowhere.dk>Show Full Headers
Complete Article Headers
Message-ID: <6pqbt0$c0m$1@flea.best.net> Subject: Re: [Diablo] Removing newsfeed Date: Thu, 30 Jul 1998 00:00:00 +0000 From: dillon@best.net (Matt Dillon) References: <slrn6rqs27.6kb.dw@coredump.nowhere.dk> <6pju60$51r$1@flea.best.net> <slrn6s0ljt.4gv.dw@coredump.nowhere.dk> 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: 376406220 X-Trace: 901821155 365 dillon 206.184.139.131 Organization: Best Internet Communications, Inc. Newsgroups: news.software.nntp