🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #53065

Why am I getting duplicate articles in my spool when switching feed servers?

#53065
From: Gregory Popovitch
Date: Thu, 28 Jun 2001 02:00
203 lines
6486 bytes
Hi,

I'm not an experienced news admin, so I apologize if my question is somewhat
obvious. I searched
the web and the newsgroups and I couldn't find a problem similar to mine, so
I have a feeling
I'm missing something really obvious.

I'm running INN 2.2 (on linux), and I subscribe to some newsgroups which I
*never* expire,
since I want to archive all postings. For that purpose, I did the following:
   - I run "news.daily" with the 'noexpire' flag
   - in 'inn.conf', I set artcutoff to 0 since I wanted to be able to
retrieve old articles
and the articles have been accumulating nicely in my spool directory (I use
the reiserfs filesystem).

I use the traditional spool, and use "newsx" to get new articles from my
news server. After
nexs gets the articles, I send them to innd using "rnews -U"

I just switched to a new feed  server a few days back and I found out that
INN had accepted
a large number of duplicate articles. I can find the duplicate articles in
my spool directory
(same Message-ID) and the same duplicate ids appear also in my history file.

I can't understand why INN accepted these duplicate articles and put them in
the spool. I
thought that innd would check each Message-ID of incoming articles against
the history file, and
discard the duplicates. This doesn't seem to happen.

Does anyone have a suggestion as to the cause of this?
My full 'inn.conf' file is appended at the end of this posting.

Also, how can I correct this situation? I'm thinking of writing a python
script who would
go througn my spool directory and remove duplicate articles (and maybe
rename files
as to not leave holes in the numbering). And recreate the history file
afterwards. Would this
be sufficient?

At this point, I would really appreciate any insight.

Gregory



----------- my inn.conf file ---------------------------------------------

##  $Revision: 1.24.2.2 $
##  inn.conf -- inn configuration data
##  Format:
## <parameter>:<whitespace><value>
##
##  See the inn.conf(5) man page for a full description of each
##  of these options
##
##  Blank values are allowed for certain parameters
## ---------------------------------
# All parameters must exist
#
organization:  Keyblazer.com, Inc
server:   localhost
pathhost:  localhost
moderatormailer:
#domain:
fromhost:
pathalias:
#complaints:
mta:   /usr/sbin/sendmail -oi %s
mailcmd:  /usr/bin/innmail
checkincludedtext: false
maxforks:  10
maxartsize:  1000000
nicekids:  0
nicenewnews:  0
verifycancels:  true
logcancelcomm:  true
wanttrash:  false
remembertrash:  true
linecountfuzz:  0
peertimeout:  3600
clienttimeout:  1800
allownewnews:  false
localmaxartsize: 1000000
logartsize:  true
logipaddr:  true
logsitename:  true
maxconnections:  50
artcutoff:  0
icdsynccount:  10
hiscachesize:  16384
readertrack:  false
strippostcc:  false
status:   0
timer:   0
readerswhenstopped: false
noreader:  false
extendeddbz:  false
nnrpdoverstats:  false
storeonxref:  true
nnrpdcheckart:  true
storemsgid:  true
usecontrolchan:  true
mergetogroups:  false
backoffauth:  false
backoffdb:  /var/lib/news/backoff
backoffpostfast: 0L
backoffpostslow: 1L
backofftrigger:  10000L
mimeversion:
mimecontenttype:
mimeencoding:
refusecybercancels: false
activedenable:  true
activedupdate:  30
activedport:  1119
nnrpperlauth:  false
#
#
# These options are unlikely to need changing in most situations
#
chaninacttime:  600
chanretrytime:  300
pauseretrytime:  300
nntplinklog:  false
nntpactsync:  200
badiocount:  5
blockbackoff:  120
#
# ---------------------------------
# Changing these options can have an effect on the way articles are
# stored and may require recreating the spool and/or database files
#
wireformat:  false
xrefslave:  false
nnrpdposthost:
nnrpdpostport:  119
spoolfirst:  false
writelinks:  true
storageapi:  false
articlemmap:  false
overviewmmap:  true
bindaddress:  all
sourceaddress:  any
port:   119
#
## Keywords-in-overview options
## Enabling this without stopping innd and deleting the existing overview
## database and adding  will probably confuse a lot of things. You must
## have compiled this support in too.
#
keywords:  false
keylimit:  512
keyartlimit:  100000
keymaxwords:  250
#
# Other options
innflags:
doinnwatch:  false
innwatchsleeptime: 600
pgpverify:  false
controlfailnotice: false
logcycles:  3
innwatchpauseload: 1500
innwatchhiload:  2000
innwatchloload:  1000
innwatchspoolspace: 8000
innwatchbatchspace: 800
innwatchlibspace: 25000
innwatchspoolnodes: 200
docnfsstat:  false
#
# ---------------------------------
# Paths to various aspects of the news system
#
pathnews:  /usr
pathbin:  /usr/bin
pathfilter:  /usr/bin/filter
pathcontrol:  /usr/bin/control
pathdb:   /var/lib/news
pathetc:  /etc/news
pathrun:  /var/run/news
pathlog:  /var/log/news
pathhttp:  /var/log/news
pathtmp:  /usr/tmp
pathspool:  /var/spool/news
patharticles:  /var/spool/news/articles
pathoverview:  /var/spool/news/overview
pathoutgoing:  /var/spool/news/outgoing
pathincoming:  /var/spool/news/incoming
patharchive:  /var/spool/news/archive
pathuniover:  /var/spool/news/uniover
overviewname:  .overview
#
# ---------------------------------
#


Technical Details
Message-ID: <Xaw_6.33$cT6.27384@nntp0.chicago.il.ameritech.net>
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!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.mathworks.com!cyclone.swbell.net!cyclone0.chicago.il.ameritech.net!spamfilter!nntp0.chicago.il.ameritech.net.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <Xaw_6.33$cT6.27384@nntp0.chicago.il.ameritech.net>
Subject: Why am I getting duplicate articles in my spool when switching feed servers?
Date: Wed, 27 Jun 2001 22:00:39 -0400
From: "Gregory Popovitch" <greg@gpy.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!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.mathworks.com!cyclone.swbell.net!cyclone0.chicago.il.ameritech.net!spamfilter!nntp0.chicago.il.ameritech.net.POSTED!not-for-mail
Newsgroups: news.software.nntp
Lines: 202
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
NNTP-Posting-Host: 65.42.44.225
X-Trace: nntp0.chicago.il.ameritech.net 993693495 65.42.44.225 (Wed, 27 Jun 2001 20:58:15 CDT)
NNTP-Posting-Date: Wed, 27 Jun 2001 20:58:15 CDT
Organization: Ameritech.Net www.ameritech.net Complaints: abuse@ameritech.net