Article View: news.software.nntp
Article #59971Re: expire - duplicate messages
From: Alex Kiernan
Date: Wed, 21 Aug 2002 07:34
Date: Wed, 21 Aug 2002 07:34
75 lines
3869 bytes
3869 bytes
bje@ripco.com (Bruce Esquibel) writes:
> Well, I'm throwing this out for suggestions, off hand I don't know what else
> to do about it.
>
> My news.daily reports for the last week have been expotentially getting
> larger and larger. This mornings was near 10 megs, most of it due to:
>
> Duplicate message-id "[458193ED1F2810237EE1D467A576C158]" in history
>
> there is over 127,000 of them now. This started about a week ago, first a
> dozen or so, then about 100 and it's been snowballing since then.
>
That happens when your history.hash is missing articles which you've
already accepted. They're re-accepted (rather than refused) and added
to the history (& .hash & .index). When expire runs it finds duplicate
message ids & complains.
Typically the reason your history.* are out of kilter is if you've had
a crash.
> We're running inn 2.3.3 under solaris 2.8 with cnfs for article storage and
> tradindexed for the overviews.
>
> This is somewhat a new box, has been running ok since july 1 and doesn't
> seem to have any other problems.
Check your expire.log for a message like:
Expire errors: history files not updated.
If you've got those you need to fix your history file by hand, then
run makedbz. My approach (depending on what the box is used for) is
either to just tail the last million or so lines (transit boxes), or
to find the broken lines and edit them out (which usually means
something like dd since you need to operate on massive files).
> When I checked some of the strings for the duplicates reported,
> usually they aren't found at all. I'm assuming expire took them
> out. The ones that are there all seem to be for control messages
> being the entry in the history file looks like this:
>
> [FD4951871E5F4CBFA5C783A0AA20E0AB] 1029847207~-~1029847207
>
Just check for the [] part, the time stamps will differ.
> Since there is no message token in the next field (leading and trailing @),
> these are control messages, right?
>
Nope. They're messages where then cancel arrived before the real
message, or you rejected them, or they've expired but are still within
/remember/ (there may be some more 'or's I've missed!).
> My question is what is the next step? Should I attempt to rebuild the
> history file from scratch, just try to rebuild the dbz hash stuff or what?
>
Ignore them would be my approach... I can't think of a good way of
cleaning up the history file w/o writing some code, though once you've
a clean history file, you can just makedbz.
> What would get crapped up where duplicates would get into the history file
> to begin with, broken dbm/ndbm libraries?
>
> Any clues would be appreciated.
>
HTH
--
Alex Kiernan, Principal Engineer, Development, THUS plc
Technical Details
Message-ID:
<72y9b01x7r.fsf@demon.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!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!kibo.news.demon.net!news.demon.co.uk!demon!alexk.eng.demon.net!not-for-mailReferences:
<ajte9q$t9$1@e250.ripco.com>Show Full Headers
Complete Article Headers
Message-ID: <72y9b01x7r.fsf@demon.net> Subject: Re: expire - duplicate messages Date: Wed, 21 Aug 2002 07:34:48 +0000 From: Alex Kiernan <alexk@demon.net> References: <ajte9q$t9$1@e250.ripco.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!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!kibo.news.demon.net!news.demon.co.uk!demon!alexk.eng.demon.net!not-for-mail Newsgroups: news.software.nntp Sender: alexk@alexk NNTP-Posting-Host: alexk.eng.demon.net X-NNTP-Posting-Host: alexk.eng.demon.net:194.217.90.3 X-Trace: news.demon.co.uk 1029915288 nnrp-01:20956 NO-IDENT alexk.eng.demon.net:194.217.90.3 X-Complaints-To: abuse@demon.net User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Lines: 74