🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
6 messages
6 total messages Started by Richard Martin Thu, 15 Jun 1995 00:00
INN1.4, nntplink and backlogging
#3637
Author: Richard Martin
Date: Thu, 15 Jun 1995 00:00
30 lines
1936 bytes
All:

	I am using INN with nntplink in stdin mode (and with the -q switch so
nntplink will queue when the site is down) on machines running SunOS4.1.3 to
feed my customers, which in general, works fine.  The problem I am seeing is
for sites that I feed that are not fast enough to keep up with my feed.  When
this happens, INN starts sucking up large amounts of RAM.  I think what is
happening is that INN is buffering up articles that nntplink won't accept
cause nntplink is busy waiting on the remote site to accept the previous
article.  If I flush all feeds or reload newsfeeds, tons of article info
gets dumped to each sites batchfile.  It's true that NNTPLINK will queue
up articles when the remote site is *DOWN*, but what about if the remote
site is just slow?

	There is a "S" option for INN that says that if a sites queue
becomes larger than x bytes, switch to file mode.  This is partially
what I want, but really what I really want INN to do is if the queue gets
larger than "x" bytes, write the backlog to disk and clear out its buffers,
but do not switch to file mode, just start trying the channel again.

	Is this a problem others are seeing or have seen?  Is there a fix?  

Thanks.

--
Richard Martin
Sprintlink Systems & Services
rmartin@sprint.net

Re: INN1.4, nntplink and backlogging
#3636
Author: Doug Sewell
Date: Thu, 15 Jun 1995 00:00
28 lines
1595 bytes
[Distribution: inet removed, please update your distrib.pats]

Thus spake Richard Martin <rmartin@news.sprintlink.net>:
>All:
>
>	I am using INN with nntplink in stdin mode (and with the -q switch so
>nntplink will queue when the site is down) on machines running SunOS4.1.3 to
>feed my customers, which in general, works fine.  The problem I am seeing is
>for sites that I feed that are not fast enough to keep up with my feed.  When

<bobbitt>
>
>	Is this a problem others are seeing or have seen?  Is there a fix?  

I have several links that backlog quite a bit.  I'm also running SunOS
4.1.3 (on an IPC).

I finally gave up on stdin mode and set those links up in logfile mode.
My problems with inn and nntplink went away.  While this doesn't fix
your problems, it's a solution that works for me.

-- 
Doug Sewell (doug@cc.ysu.edu) (http://cc.ysu.edu/doug)

Hardware, n.: The parts of a computer system that can be kicked.
  -- Henri Karrenbeld

Re: INN1.4, nntplink and backlogging
#3644
Author: news
Date: Fri, 16 Jun 1995 00:00
38 lines
2217 bytes
: >Thus spake Richard Martin <rmartin@news.sprintlink.net>:

: >>	I am using INN with nntplink in stdin mode (and with the -q switch so
: >>nntplink will queue when the site is down) on machines running SunOS4.1.3 to
: >>feed my customers, which in general, works fine.  The problem I am seeing is
: >>for sites that I feed that are not fast enough to keep up with my feed.  When

: ><bobbitt>
: >>
: >>	Is this a problem others are seeing or have seen?  Is there a fix?  

: I had this problem, and while the script called links supplied with
: nntplink should clean up the left over batch files, I cold never get
: it to work.

: Instead I wrote:

: 	ftp://ftp.auckland.ac.nz/pub/news/rebatch-1.0.tar.gz

I think you misunderstood what my problem is, I have no problem processing
batchfiles, "links" works fine for me.  My problem is that INN queues up
articles *INTERNALLY* that nntplink isn't ready to accept causing INN to grow
very large.  I want INN to queue up "x" bytes of article information for
a site, once "x" is reached, INN should dump the queue to disk then continue
trying to send articles to stdin of nntplink until it the queue fills up
again.

The "S" option in newsfeeds *ALMOST* does this, but once it spools articles to
disk, it then spools *ALL* articles to disk and never trys to send to nntplink
again.

--
Richard Martin
Sprintlink Systems & Services
rmartin@sprint.net


Re: INN1.4, nntplink and backlogging
#3647
Author: Russell Street
Date: Fri, 16 Jun 1995 00:00
30 lines
1728 bytes
doug@cc.ysu.edu (Doug Sewell) writes:

>Thus spake Richard Martin <rmartin@news.sprintlink.net>:

>>	I am using INN with nntplink in stdin mode (and with the -q switch so
>>nntplink will queue when the site is down) on machines running SunOS4.1.3 to
>>feed my customers, which in general, works fine.  The problem I am seeing is
>>for sites that I feed that are not fast enough to keep up with my feed.  When

><bobbitt>
>>
>>	Is this a problem others are seeing or have seen?  Is there a fix?  

I had this problem, and while the script called links supplied with
nntplink should clean up the left over batch files, I cold never get
it to work.

Instead I wrote:

	ftp://ftp.auckland.ac.nz/pub/news/rebatch-1.0.tar.gz

which does the same thing, and will also tell you how far behind your
sites are and how long they will take to catch up.  Documentation is at:

	http://www.auckland.ac.nz/cc/People/RS/rebatch/TOP.html

Russell
(wheels re-invented while you wait)

Re: INN1.4, nntplink and backlogging
#3653
Author: Paul Southworth
Date: Sat, 17 Jun 1995 00:00
47 lines
3052 bytes
In article <3rpi3n$n3q@news.sprintlink.net>,
Richard Martin <rmartin@news.sprintlink.net> wrote:
>	I am using INN with nntplink in stdin mode (and with the -q switch so
>nntplink will queue when the site is down) on machines running SunOS4.1.3 to
>feed my customers, which in general, works fine.  The problem I am seeing is
>for sites that I feed that are not fast enough to keep up with my feed.  When
>this happens, INN starts sucking up large amounts of RAM.  I think what is
>happening is that INN is buffering up articles that nntplink won't accept
>cause nntplink is busy waiting on the remote site to accept the previous
>article.

Hmm, I haven't seen exactly what you're talking about, but overall I
generally support the practice of trimming feeds to sites that can't
keep up.

I use nntplink with the -q and -k flags, operating on stdin, and I find
that sites that are slow (but aren't throttled or otherwise screwed up)
do end up with queue files accumulating on my end (and I call "links
clean" every 15 minutes to purge them).  I don't see INN's memory
footprint increasing during this process, as far as I can tell.  If you
want an authoritative answer on the nntplink queuing question, you
should probably direct it to the nntplink mailing list, and make sure
that you're running the most recent release of nntplink.

The problem is that if a site can't keep up, chances are that spooling
their articles for later delivery or parallel delivery via a one-shot
batch of the old queue usually doesn't solve anything in the long run,
unless the slowdown is an infrequent occurance.  Most of the sites that
can't keep up with my transport server just plain can't keep up, ever,
and the feed just has to be trimmed or they need to tune or upgrade
their server (or bandwidth).  Assuming a site has peak (daytime)
traffic that doesn't leave enough cycles or bandwidth to keep up, in
most cases there just aren't enough off-peak hours in the day to catch
up, especially when they pause for several hours to expire during those
off-peak hours.

Out of the 40 nntplink outbound feeds on my transport server, there
have been 4 or 5 that couldn't keep up, and they *never* caught up
until I cut the feed back.  Furthermore those 4 or 5 were always the
same 4 or 5 sites, with cruddy servers or not enough bandwidth.

--
Paul Southworth
CICNet Systems Support
pauls@cic.net

Re: INN1.4, nntplink and backlogging
#3658
Author: bill davidsen
Date: Mon, 19 Jun 1995 00:00
27 lines
2041 bytes
In article <3rv7hb$cto@spruce.cic.net>,
Paul Southworth <pauls@locust.cic.net> wrote:

| The problem is that if a site can't keep up, chances are that spooling
| their articles for later delivery or parallel delivery via a one-shot
| batch of the old queue usually doesn't solve anything in the long run,
| unless the slowdown is an infrequent occurance.

This depends on the cause of the backlog. In many cases the cause is
just a limit on the bandwidth or the receiving machine, and there's
no way to drain the swamp thorugh a soda straw. However, with
backbone routing in a state of transition, in some cases the culprit
is turnaround time rather than bandwidth. This results in good
throughput for some protocols, like ftp or uucp over TCP, etc, while
NNTP performance is really bad.

The answer is often a parallel feed, which in most cases where ping
time is the problem will almost double the effective transfer rate.
Another answer is the streaming NNTP stuff. I haven't had a chance
to look into that, but I really need to, since I have some links
showing just this type of problem.

If you run out of essential resources at the receiving end a
reduction in volume is the solution, but if routing or things like
satellite feed slow turnaround, then parallel feed will usually help.

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