Thread View: news.software.nntp
15 messages
15 total messages
Started by Ben Rosengart
Tue, 18 Dec 2001 20:56
x-ref slaving with more than one feed
Author: Ben Rosengart
Date: Tue, 18 Dec 2001 20:56
Date: Tue, 18 Dec 2001 20:56
11 lines
1213 bytes
1213 bytes
Just out of curiosity ... what happens when an INN 2.3.2 server is configured to do x-ref slaving, and there's more than one host feeding it? I suppose one gets horrible holes in one's article number ranges, assuming the feeds don't have article numbers synchronized amongst themselves? -- Ben You buttered your bread, now lie in it.
Re: x-ref slaving with more than one feed
Author: Curt Welch
Date: Tue, 18 Dec 2001 21:32
Date: Tue, 18 Dec 2001 21:32
11 lines
1395 bytes
1395 bytes
Ben Rosengart <ben@panix.com> wrote: > Just out of curiosity ... what happens when an INN 2.3.2 server > is configured to do x-ref slaving, and there's more than one host > feeding it? total chaos -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: x-ref slaving with more than one feed
Author: Ben Rosengart
Date: Tue, 18 Dec 2001 21:49
Date: Tue, 18 Dec 2001 21:49
23 lines
1700 bytes
1700 bytes
In article <20011218163238.021$ZW@newsreader.com>, Curt Welch wrote: > Ben Rosengart <ben@panix.com> wrote: >> Just out of curiosity ... what happens when an INN 2.3.2 server >> is configured to do x-ref slaving, and there's more than one host >> feeding it? > > total chaos Well heck ... I can achieve total chaos with only one feed. ;-) Thanks. We have one reader and one feeder, and each does their own article numbering. We're going to a system with two readers and one feeder, and everyone will get their numbers from the feeder. Doing this without a "flag day" is going to be interesting, though I think we have the problem mostly if not entirely solved. -- Ben You buttered your bread, now lie in it.
Re: x-ref slaving with more than one feed
Author: Jeffrey M. Vinocur
Date: Tue, 18 Dec 2001 21:53
Date: Tue, 18 Dec 2001 21:53
21 lines
1756 bytes
1756 bytes
In article <slrna1veff.lii.ben@panix2.panix.com>, Ben Rosengart <ben@panix.com> wrote: > >We have one reader and one feeder, and each does their own article >numbering. We're going to a system with two readers and one feeder, >and everyone will get their numbers from the feeder. Doing this >without a "flag day" is going to be interesting, though I think we >have the problem mostly if not entirely solved. Well, if you don't want to disturb the users, you have to end up with the new numbers based on the current reader machine's numbers. Are the three new machines all new, or are you reusing the existing ones? -- Jeffrey M. Vinocur jeff@litech.org
Re: x-ref slaving with more than one feed
Author: Ben Rosengart
Date: Thu, 20 Dec 2001 01:16
Date: Thu, 20 Dec 2001 01:16
29 lines
2090 bytes
2090 bytes
In article <9vodtk$hrk$2@marduk.litech.org>, Jeffrey M. Vinocur wrote: > In article <slrna1veff.lii.ben@panix2.panix.com>, > Ben Rosengart <ben@panix.com> wrote: >> >>We have one reader and one feeder, and each does their own article >>numbering. We're going to a system with two readers and one feeder, >>and everyone will get their numbers from the feeder. Doing this >>without a "flag day" is going to be interesting, though I think we >>have the problem mostly if not entirely solved. > > Well, if you don't want to disturb the users, you have to end up > with the new numbers based on the current reader machine's > numbers. > > Are the three new machines all new, or are you reusing the > existing ones? We're reusing the feeder, and building two new readers. The plan is to raise the article numbers on the feeder to be higher than those on the existing reader, then have the existing reader start xrefslaving off the feeder, then have the new readers xrefslave off the feeder as well. -- Ben You buttered your bread, now lie in it.
Re: x-ref slaving with more than one feed
Author: Jeffrey M. Vinocur
Date: Thu, 20 Dec 2001 03:08
Date: Thu, 20 Dec 2001 03:08
27 lines
2010 bytes
2010 bytes
In article <slrna22f04.18k.ben@panix2.panix.com>, Ben Rosengart <ben@panix.com> wrote: >In article <9vodtk$hrk$2@marduk.litech.org>, Jeffrey M. Vinocur wrote: > >> Are the three new machines all new, or are you reusing the >> existing ones? > >We're reusing the feeder, and building two new readers. > >The plan is to raise the article numbers on the feeder to be higher >than those on the existing reader, then have the existing reader >start xrefslaving off the feeder, then have the new readers xrefslave >off the feeder as well. This will work, and not cause any major confusion, but your users _will_ lose all of their old articles (i.e., everything that came in between the last time they read news and the migration, and also all the articles they have explicitly marked unread to come back to later). If that's ok with you, that's fine. -- Jeffrey M. Vinocur jeff@litech.org
Re: x-ref slaving with more than one feed
Author: Greg Andrews
Date: Thu, 20 Dec 2001 08:55
Date: Thu, 20 Dec 2001 08:55
23 lines
1840 bytes
1840 bytes
Ben Rosengart <ben@panix.com> writes: > >We're reusing the feeder, and building two new readers. > >The plan is to raise the article numbers on the feeder to be higher >than those on the existing reader, then have the existing reader >start xrefslaving off the feeder, then have the new readers xrefslave >off the feeder as well. > As long as you boost the article numbers high enough. As long as you feed with the higher numbers long enough that the old-numbered articles expire off the existing reader *before* you allow reading from the new reader, you won't get complaints about repeated articles. -Greg -- +++++ Greg Andrews +++ gerg@panix.com +++++ I have a map of the United States that's actual size -- Steven Wright
Re: x-ref slaving with more than one feed
Author: Greg Andrews
Date: Thu, 20 Dec 2001 09:00
Date: Thu, 20 Dec 2001 09:00
26 lines
2091 bytes
2091 bytes
jeff@litech.org (Jeffrey M. Vinocur) writes: >Ben Rosengart <ben@panix.com> wrote: >> >>The plan is to raise the article numbers on the feeder to be higher >>than those on the existing reader, then have the existing reader >>start xrefslaving off the feeder, then have the new readers xrefslave >>off the feeder as well. > >This will work, and not cause any major confusion, but your users >_will_ lose all of their old articles (i.e., everything that came >in between the last time they read news and the migration, and >also all the articles they have explicitly marked unread to come >back to later). > Doesn't have to be that way. If access to the new reader is not granted until after all those old articles have expired off the existing reader, it won't be a problem. By that time, the articles that the users marked unread have expired anyway. -Greg -- +++++ Greg Andrews +++ gerg@panix.com +++++ I have a map of the United States that's actual size -- Steven Wright
Re: x-ref slaving with more than one feed
Author: Jeffrey M. Vinocur
Date: Thu, 20 Dec 2001 12:49
Date: Thu, 20 Dec 2001 12:49
41 lines
2655 bytes
2655 bytes
In article <9vs9ak$qlk$3@news.panix.com>, Greg Andrews <gerg@panix.com> wrote: >jeff@litech.org (Jeffrey M. Vinocur) writes: >>Ben Rosengart <ben@panix.com> wrote: >> >>>The plan is to raise the article numbers on the feeder to be higher >>>than those on the existing reader, then have the existing reader >>>start xrefslaving off the feeder, then have the new readers xrefslave >>>off the feeder as well. >> >>This will work, and not cause any major confusion, but your users >>_will_ lose all of their old articles I don't know what I was thinking when I wrote that. As long as you're careful (turn off the incoming feed, give everything a minute to settle down, bump the article numbers, turn on xrefslave, and open the feeds again, all as an atomic operation as far as anyone can see), people might not even notice. (Don't bump the article numbers much higher than existing; you don't want gaps in history for no reason.) If you're going to put the new reader server on the same IP (i.e., DNS round-robin), though, you need to put it on xrefslave early and innxmit all of the current reader articles over. >Doesn't have to be that way. If access to the new reader is not >granted until after all those old articles have expired off the >existing reader, it won't be a problem. By that time, the articles >that the users marked unread have expired anyway. Oh, this another way to deal with the issue in the second paragraph above. I'm going to stop talking now. -- Jeffrey M. Vinocur jeff@litech.org
Re: x-ref slaving with more than one feed
Author: Greg Andrews
Date: Thu, 20 Dec 2001 19:24
Date: Thu, 20 Dec 2001 19:24
17 lines
1597 bytes
1597 bytes
jeff@litech.org (Jeffrey M. Vinocur) writes: > >(Don't bump the article numbers much higher than existing; you don't >want gaps in history for no reason.) > Does this cause trouble in versions of INN after 1.5x or 1.7x? I've use this method a couple of times to switch from an old server to a new one, and the history database had no trouble with such gaps in the article numbers. -Greg -- +++++ Greg Andrews +++ gerg@panix.com +++++ I have a map of the United States that's actual size -- Steven Wright
Re: x-ref slaving with more than one feed
Author: Mark Hittinger
Date: Thu, 20 Dec 2001 20:27
Date: Thu, 20 Dec 2001 20:27
15 lines
1361 bytes
1361 bytes
gerg@panix.com (Greg Andrews) writes: >Does this cause trouble in versions of INN after 1.5x or 1.7x? >I've use this method a couple of times to switch from an old >server to a new one, and the history database had no trouble >with such gaps in the article numbers. I know if the gaps are large it will affect readers, but I've not seen it upset the INN 2.x overview methods. Later Mark Hittinger Earthlink bugs@netcom.com
Re: x-ref slaving with more than one feed
Author: Jeffrey M. Vinocur
Date: Thu, 20 Dec 2001 21:56
Date: Thu, 20 Dec 2001 21:56
34 lines
2458 bytes
2458 bytes
In article <9vthk5$1td$1@slb0.atl.mindspring.net>,
Mark Hittinger <bugs@netcom.com> wrote:
>gerg@panix.com (Greg Andrews) writes:
>>Does this cause trouble in versions of INN after 1.5x or 1.7x?
>>I've use this method a couple of times to switch from an old
>>server to a new one, and the history database had no trouble
>>with such gaps in the article numbers.
How big? I mean, a thousand or something, whatever. I just
wouldn't recommend doing something like s/ 000/ 001/ (which
theoretically makes sense -- bump them all up an enormous
amount).
>I know if the gaps are large it will affect readers, but I've not seen it
>upset the INN 2.x overview methods.
I've seen mention of it being a problem with something -- I
completely forget what at the moment. IIRC, the issue was that
the space used was proportional to the difference between the low
and high water marks, and not to the actual number of articles.
I don't seen any reason not to confirm all of the reader himarks
are higher, and then just use them. You shouldn't have to worry
about {the server's old low marks might be way lower than the new
hi marks} because if that ends up being a concern, just
artificially expire all of the articles on the feeder -- it's not
like you need them for anything, right?
--
Jeffrey M. Vinocur
jeff@litech.org
Re: x-ref slaving with more than one feed
Author: Mark Hittinger
Date: Thu, 20 Dec 2001 23:58
Date: Thu, 20 Dec 2001 23:58
27 lines
1898 bytes
1898 bytes
jeff@litech.org (Jeffrey M. Vinocur) writes: >How big? I mean, a thousand or something, whatever. I just >wouldn't recommend doing something like s/ 000/ 001/ (which >theoretically makes sense -- bump them all up an enormous >amount). Oh, around 16384 :-) VB shortints :-) The problem at the reader end of things will be the distance between the reader's last high water mark and the server's new high water mark. If the distance is > 16384 some older readers will gpf, core, lockup, or boing!. Some readers like NN will pause noticeably but continue OK. Instead of doing one mighty jump one can also do small leaps of 1000 or so each day to move one server into closer "range" to the target. This keeps older reader populations from blowing up, except for the "rip-van-winkle" readers who check their newsgroups once every six months :-) Later Mark Hittinger Earthlink bugs@netcom.com
Re: x-ref slaving with more than one feed
Author: Greg Andrews
Date: Fri, 21 Dec 2001 20:23
Date: Fri, 21 Dec 2001 20:23
40 lines
2643 bytes
2643 bytes
jeff@litech.org (Jeffrey M. Vinocur) writes: >In article <9vthk5$1td$1@slb0.atl.mindspring.net>, >Mark Hittinger <bugs@netcom.com> wrote: >>gerg@panix.com (Greg Andrews) writes: >>>Does this cause trouble in versions of INN after 1.5x or 1.7x? >>>I've use this method a couple of times to switch from an old >>>server to a new one, and the history database had no trouble >>>with such gaps in the article numbers. > >How big? I mean, a thousand or something, whatever. I just >wouldn't recommend doing something like s/ 000/ 001/ (which >theoretically makes sense -- bump them all up an enormous >amount). > My memory is that the second time I did it, the gap was around 30 thousand article numbers. Enough for the numbers on the old server to not overlap the numbers on the new one over the 4-7 days that the new spool was filling up. > >>I know if the gaps are large it will affect readers, but I've not seen it >>upset the INN 2.x overview methods. > >I've seen mention of it being a problem with something -- I >completely forget what at the moment. IIRC, the issue was that >the space used was proportional to the difference between the low >and high water marks, and not to the actual number of articles. > Sounds like those readers create static arrays/structures to hold all the article numbers between the low and high marks. They would grab tons of memory if you have a large gap. -Greg -- +++++ Greg Andrews +++ gerg@panix.com +++++ I have a map of the United States that's actual size -- Steven Wright
Re: x-ref slaving with more than one feed
Author: Jeffrey M. Vinocur
Date: Sat, 22 Dec 2001 19:21
Date: Sat, 22 Dec 2001 19:21
28 lines
2183 bytes
2183 bytes
In article <a005nr$5jm$3@news.panix.com>, Greg Andrews <gerg@panix.com> wrote: >jeff@litech.org (Jeffrey M. Vinocur) writes: >>In article <9vthk5$1td$1@slb0.atl.mindspring.net>, >>Mark Hittinger <bugs@netcom.com> wrote: >> >>>I know if the gaps are large it will affect readers, but I've not seen it >>>upset the INN 2.x overview methods. >> >>I've seen mention of it being a problem with something -- I >>completely forget what at the moment. IIRC, the issue was that >>the space used was proportional to the difference between the low >>and high water marks, and not to the actual number of articles. > >Sounds like those readers create static arrays/structures to hold >all the article numbers between the low and high marks. They >would grab tons of memory if you have a large gap. With "something" above I meant some part of INN. Sorry I can't be more helpful...the memory is completely gone. It was either here or on inn-workers, I think within the past month. (I'm almost positive I'm not hallucinating.) -- Jeffrey M. Vinocur jeff@litech.org
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