Thread View: news.software.nntp
3 messages
3 total messages
Started by Brendan Kehoe
Thu, 29 Nov 1990 08:13
Argh! Duplicates abound!
Author: Brendan Kehoe
Date: Thu, 29 Nov 1990 08:13
Date: Thu, 29 Nov 1990 08:13
24 lines
1873 bytes
1873 bytes
I'm having a strange problem and I've exhausted all of the
possibilities that I can think of.
I recently added a second feed (both are partial, but with nearly
exactly the same groups) to my newsfeed. Now everytime the second site
connects, a whole load of articles show up as duplicates (rather than
be rejected). Syd Weinstein (one of the folks giving me a feed)
suggested perhaps I'd built nntp wrong, since it may be reading the
history file wrong.
After some digging, I discovered I hadn't built nntp with DBZ (as I
did with cnews). So I went and rebuilt it & installed it. Nada. No change.
So I did mkhistory & rebuilt the history file. That didn't even fix
it. I'm at a loss.
I do have NDBM also defined. Should I? (I tried it with just DBZ and
it failed cuz it defined USGHIST which is totally wrong.)
Anyone have any ideas what could be going wrong here? The log file is
growing exponentially with all of the so-called duplicates. Any help
at all, even if you think it's way off base, is more than welcome!
--
Brendan Kehoe - Widener Sun Network Manager - brendan@cs.widener.edu
Widener University in Chester PA A Bloody Sun-vs-Dec War Zone
Top Ten Surprises in Rocky V -- Number 5, Loveable Character Chewbacca Dies
Re: Argh! Duplicates abound!
Author: Paul Pomes - UofIllinois CSO
Date: Wed, 05 Dec 1990 03:45
Date: Wed, 05 Dec 1990 03:45
41 lines
2640 bytes
2640 bytes
brendan@cs.widener.edu (Brendan Kehoe) writes:
> I'm having a strange problem and I've exhausted all of the
>possibilities that I can think of.
> I recently added a second feed (both are partial, but with nearly
>exactly the same groups) to my newsfeed. Now everytime the second site
>connects, a whole load of articles show up as duplicates (rather than
>be rejected). Syd Weinstein (one of the folks giving me a feed)
>suggested perhaps I'd built nntp wrong, since it may be reading the
>history file wrong.
I assume you are using cnews since you mention dbz.
What is likely happening is that while cnews is chunking away at a batch from
site #1, nntpd accepts a batch of the same articles from site #2 before the
message-ids in batch #1 make it into the history file. When cnews finishes
with batch #1, many of the articles in batch #2 will be rightly rejected as
duplicates. This all comes about with the fast propagation rate for Internet
NNTP sites.
Our news machine, ux1.cso.uiuc.edu, has six outside feeds and was always
falling behind during the day. When it finally caught up at night, most
of the batches were discarded as duplicates. The fix was installing the
msgidd daemon written by Paul Vixie of DEC. It stores in memory the last
N minutes worth of message-ids received. Each nntpd communicates with it
via a unix-domain socket to check whether an incoming article has been
received but not yet processed. This has been a huge improvement.
The msgidd code can be obtained either from the NNTP managers archive on
either ucbvax or ucbarpa.berkeley.edu or in the file pub/nntp-1.5.10+.tar.Z
on uxc.cso.uiuc.edu.
/pbp
--
Paul Pomes
alias emacs='/usr/ucb/vi' -- All the EMACS you need to know.
UUCP: {att,iuvax,uunet}!uiucuxc!paul Internet, BITNET: paul@uxc.cso.uiuc.edu
US Mail: UofIllinois, CSO, 1304 W Springfield Ave, Urbana, IL 61801-2910
Re: Argh! Duplicates abound!
Author: Brendan Kehoe
Date: Wed, 05 Dec 1990 14:31
Date: Wed, 05 Dec 1990 14:31
26 lines
1732 bytes
1732 bytes
In <1990Dec5.034523.21682@ux1.cso.uiuc.edu>, paul@uxc.cso.uiuc.edu writes:
>I assume you are using cnews since you mention dbz.
Yep. Sorry I neglected to mention it.
>The msgidd code can be obtained either from the NNTP managers archive on
>either ucbvax or ucbarpa.berkeley.edu or in the file pub/nntp-1.5.10+.tar.Z
>on uxc.cso.uiuc.edu.
Thanks for the suggestion -- I'll check it out.
It turns out that the problem was using NDBM at all. At least in
Sun's version it dies miserably. When I built NNTP with DBM & DBZ, it
worked like a dream! Over 3100 articles with *no* duplicates. You've
no idea how good that feels. Hehe.
My thanks to everyone that responded. (Especially to Syd Weinstein
for putting up with my continuous stream of babble as I was trying to
get this thing figured out.)
--
Brendan Kehoe - Widener Sun Network Manager - brendan@cs.widener.edu
Widener University in Chester PA A Bloody Sun-vs-Dec War Zone
Hey ... do you think George Bush carries money or any kind of ID with him?
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