Thread View: news.software.nntp
3 messages
3 total messages
Started by kremžská HOŘČICE
Fri, 21 Jun 1996 00:00
Alternate host for nntpsend/innxmit?
Author: kremžská HOŘČICE
Date: Fri, 21 Jun 1996 00:00
Date: Fri, 21 Jun 1996 00:00
46 lines
3020 bytes
3020 bytes
Okay, here's a stupid question. Is it possible to specify a second host somehow to which innxmit will attempt to connect and dump news in the event that the preferred destination host happens to be unreachable? The reasoning for such a request (or a hack to accomplish this) is as follows: I am feeding a downstream site which is the central news server for a country over a rather congested link. In order to keep this server current, I have had to resort to multiple parallel feeds. What is worse, this server often is unreachable, crashing frequently for what can be several hours, resulting in backlogs of news, and to clear out these backlogs, I have resorted to further multipling the parallel feeds. It works pretty well, if the server is up most of the time. Sometimes. However, I would rather keep the news flowing, past this server and to another site further downstream, during the times when this server is not available, but not tax the connection by trying to feed two machines over this congested link. When the first server becomes reachable again, the news would then resume flowing to it from us, and the news which has been able to reach the site further downstream would flow back up to that server, from which connectivity to downstream sites is made in a star, so that it really is not practical for me or any other further downstream site to feed any of the others without an excessive waste of precious bandwidth. (We're talking scarce resources in these parts.) I have manually changed the name of the destination host in the nntpsend.ctl file for each of the eleven (yes, eleven, with no alt groups fed, and the backlogs in the feeds since the last outage were still not all cleared out before this latest outage) parallel feeds to the alternate host to see if I can clear out this backlog overnight (and then let it make its way back up over a faster link than I send it down on). But of course this really isn't a good solution when the host can crash and come up at any time, so I'd prefer something a bit more automagic that someone has already written for me, thanks... I would imagine that such a hack could even be practical for other sites with feeds over expensive links to destinations where two servers await. Lazy News Administraitor Barry Bouwsma <barryb@tuke.sk>
Re: Alternate host for nntpsend/innxmit?
Author: Thomas Mon
Date: Mon, 24 Jun 1996 00:00
Date: Mon, 24 Jun 1996 00:00
21 lines
1573 bytes
1573 bytes
In article <Pine.SGI.3.93.2.960621205420.5970G-100000@cimrman.radio.cz>, Barry.Bouwsma@tuke.sk wrote: ]Okay, here's a stupid question. Is it possible to specify a second host ]somehow to which innxmit will attempt to connect and dump news in the ]event that the preferred destination host happens to be unreachable? I have a simmilar request... We have a news machine that is feeding about 5 other news servers. Would it be better to have the main news machine xmit to another local machine and have that other local machine xmit to the the 5 remote news servers? We are trying to reduce the load on the main news server in anyway and this occured to me as a way of reducing some of that load and letting anther machine just be dedicated to xmitting to our downstream clients. Is anyone has this setup already it, is it just as simple as setting up another news machine and xmitting to it? And having the new machine xmit to our remote sites? Tom.
Re: Alternate host for nntpsend/innxmit?
Author: kremžská HOŘČICE
Date: Tue, 25 Jun 1996 00:00
Date: Tue, 25 Jun 1996 00:00
94 lines
4568 bytes
4568 bytes
To followup my own post (shoot me now), as if anyone cares...
On Fri, 21 Jun 1996, krem=BEsk=E1 HO=D8=C8ICE wrote:
> Is it possible to specify a second host
> somehow to which innxmit will attempt to connect and dump news in the
> event that the preferred destination host happens to be unreachable?
The cheap hack I have incorporated to accomplish this is as follows:
* I run nntpsend out of cron every ten minutes. There are a number of
sites I feed with this and with my parallel feeds, it takes more than
a minute to start everything, staggering things out every five seconds
by nntpsend default.
* It happens that on our SGI, the failed connections (this time due
to connectivity problems) time out after exactly 75 seconds.
* Two minutes after starting the 6-times-hourly nntpsend, I start a
3-times-per hour nntpsend of the same batch files with the second
backup host as the recipient.
* I've timed it. The first feed to this site at x3:42 times out at
x4:57, and then I try it again at x5:01. Perfect. This was my big
fear, that I would be trying the batch while it was still locked.
* Best of all, even when the primary server is reachable, is up,
but is not running innd, like right now, the news keeps moving along.
The possible drawbacks to this are that a batch has a chance of
getting sent to the backup even when the primary host is reachable,
three times per hour, when one of the following conditions occur:
* If the batch sent 80 seconds earlier gets sent within that time
(normally not likely), and new articles for that feed have arrived
in those 80 seconds, those two or three articles will get to the
backup host.
* If one of the batches takes more than a multiple of 10 minutes,
but less than 11 minutes 20 seconds to send, the next batch could
get flushed at the second try.
In practice, this does not happen often, so only about 1 of
every 100 to 1000 articles escapes, but that is not very many,
and is quite acceptable for me (out of 50 000 articles per day,
less than 100 get to the wrong destination), since those get passed
along quickly to the other host.
> However, I would rather keep the news flowing, past this server
> and to another site further downstream
The topology behind my request is this:
ME------------------Primary server--------------Backup
slower, congested / | \ faster line
line / | \
several downstream sites
=2E..so I would not want two feeds over the congested line. (I'm
already taxing the capabilities of the line, which is why I've
had to resort to the split feeds to keep things from backlogging
eternally.) There are no alternate paths to either the primary
server or the backup, nor is there a second news server at the same
PoP where the primary server can be found.
The thing to be decided now is whether the backup server will
just store the news for the unreachable primary server, or if it
will take an active role and not only store that news, but try
feeding the other downstream sites up that faster, but still
expensive, line providing its connectivity. It would probably
only relay those groups that are considered most important these
three times, and allow the primary server to relay the others
when it's available again.
The big question is how much delay is permissible in the news.
My goal is ten minutes to every final recipient. The backbone seems
to be conspiring against me to prevent this. Grrr.
> I would imagine that such a hack could even be practical for other sites
> with feeds over expensive links to destinations where two servers await.
>=20
>=20
> Cheap-Hacks'R'Us News Administraitor
> Barry Bouwsma
> <barryb@tuke.sk>
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