🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #80474

Re: [INN] 437 Duplicate

#80474
From: Jeffrey M. Vinocur
Date: Sun, 29 Mar 2009 14:57
35 lines
2568 bytes
In article <gqo1ll$gh3$1@solani.org>,
Daniel Weber  <dw2007@news.solani.org> wrote:
>
>checking my logs, I found a large amount of "437 Duplicate" entries. As
>far as I understand the code, those entries are produced by the function
>ARTpost, when it finds the message id of the article to be posted is
>already found in the history.
>
>Shouldn't the CHECK-command preceeding the deliverung TAKETHIS-command
>already ensure, that the message id is not present in my history?

In principle, yes[*], but if you have multiple peers on fast
connections, it's possible that near-simultaneous CHECKs take
place, all receive affirmitive responses, and then the article is
sent multiple times.


[*] There is the following caveat in the RFC (although I don't
think this behavior is widely implemented):

   The client MAY send articles via TAKETHIS without first querying the
   server with CHECK.  The client SHOULD NOT send every article in this
   fashion unless explicitly configured to do so by the site
   administrator based on out-of-band information.  However, the client
   MAY use an adaptive strategy where it initially sends CHECK commands
   for all articles, but switches to using TAKETHIS without CHECK if
   most articles are being accepted (over 95% acceptance might be a
   reasonable metric in some configurations).  If the client uses such a
   strategy, it SHOULD also switch back to using CHECK on all articles
   if the acceptance rate ever falls much below the threshold.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <gqo29d$486$2@puck.litech.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.k-dsl.de!feeder.erje.net!news2.arglkargh.de!news.litech.org!not-for-mail
References: <gqo1ll$gh3$1@solani.org>

Show Full Headers
Complete Article Headers
Message-ID: <gqo29d$486$2@puck.litech.org>
Subject: Re: [INN] 437 Duplicate
Date: Sun, 29 Mar 2009 14:57:49 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <gqo1ll$gh3$1@solani.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.k-dsl.de!feeder.erje.net!news2.arglkargh.de!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Litech Systems Design
Lines: 35
Sender: jeff@litech.org
NNTP-Posting-Host: puck.litech.org
X-Trace: puck.litech.org 1238338669 4358 66.218.0.75 (29 Mar 2009 14:57:49 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Sun, 29 Mar 2009 14:57:49 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)