🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #23410

Re: INN pause does HISclose() and queued checks

#23410
From: Mark Hittinger
Date: Wed, 19 Nov 1997 00:00
47 lines
2415 bytes
>In article <64cotg$m8e@dfw-ixnews1.ix.netcom.com>,
>Mark Hittinger <bugs@freebsd.netcom.com> wrote:
>>Should we respond with a defer in this case?

gdonl@tsc.tdk.com (Don Lewis) writes:
>What about those feeders that retry like mad if you tell them to defer?
>Why not just handle this the same way as incoming articles are handled
>while paused (using SCHANadd)?

Yeah I'm pretty bummed out about the 431 support on the feeder side.

If you put in those naive' patches of mine then you won't loose the articles 
but your innd cpu time will go way up as it constantly responds with 431 to 
an unending series of articles.  I break the logic to get to the SCHANadd call 
within NCpostit() in fact.

Since I'm mostly pausing the server for short periods of time I'm living
with it for a couple of expire cycles while I figure out a better trick.

SCHANadd looks interesting to me but I'm scared of it :-)

If we keep a remote site's feeder channel paused by PAUSE_RETRY_TIME
(5*60) then they'll probably drop the connection anyhow.  They will
come back in, offer the article, and get stuck in that wait again.

Maybe that is the right way to handle it.

Putting on the kludge-it hat for a minute maybe we should call the
NCwriteshutdown() routine to drop the link, and not let them back
in at the "mode stream" spot.  Hopefully these feeders won't spin
trying to reconnect like they spin retrying 431-response articles.

When the server is "GO" again and the history file is open then
we can open the floodgates.  I may code that approach tonight and
see how it goes.

Similarly we need to make our precommit patch a little smarter about
this spinning feeder thing.

Rats.

Mark Hittinger
Netcom/Dallas
bugs@freebsd.netcom.com

Technical Details
Message-ID: <650077$t6r@dfw-ixnews1.ix.netcom.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
References: <64cotg$m8e@dfw-ixnews1.ix.netcom.com> <64vud2$h59$1@news.gv.tsc.tdk.com>

Show Full Headers
Complete Article Headers
Message-ID: <650077$t6r@dfw-ixnews1.ix.netcom.com>
Subject: Re: INN pause does HISclose() and queued checks
Date: Wed, 19 Nov 1997 00:00:00 +0000
From: bugs@freebsd.netcom.com (Mark Hittinger)
References: <64cotg$m8e@dfw-ixnews1.ix.netcom.com> <64vud2$h59$1@news.gv.tsc.tdk.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: 291185248
Organization: Netcom
X-NETCOM-Date: Wed Nov 19 6:28:28 PM CST 1997
Newsgroups: news.software.nntp