Article View: news.software.nntp
Article #80402Re: Abandoned remnants in newsfeeds
From: John F. Morse
Date: Tue, 17 Mar 2009 01:06
Date: Tue, 17 Mar 2009 01:06
101 lines
6033 bytes
6033 bytes
Julien ΓLIE wrote: >> Some info for procbatch is available here: >> http://www.google.com/search?q=procbatch > > And especially in this memo written by Russ: > > http://groups.google.fr/group/news.software.nntp/msg/c41b7d850c50e382 > <ylsnl3aml8.fsf@windlord.stanford.edu> > > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > > > Here's the internal document I wrote here at Stanford saying how to deal > with them: > > Author: Russ Allbery <ea...@windlord.stanford.edu> > Subject: Processing dropped articles from innfeed > Revision: $Id: innfeed-dropped,v 1.1 1999/12/15 23:58:57 eagle Exp $ > > innfeed is the process on newsfeed.stanford.edu that sends outgoing > articles to our peers (including to nntp.stanford.edu). It will > sometimes > drop articles; this happens when innfeed can't initialize a remote site > for whatever reason, or when INN feeds it articles for a site that isn't > in innfeed.conf (a misconfiguration). The most common cause of this is > the problems that innfeed has with being stopped and restarted a bunch of > times in active succession. INN stops and restarts innfeed whenever it > acts on a control message, so this can happen when a flurry of control > messages come in; when it does, innfeed will sometimes be unable to > lock a > site for a while, and articles for that site will get dropped. > > Dropped articles are noted in files named innfeed-dropped.<id> where <id> > is a unique ID for a given innfeed process. These files should normally > always be zero length. If they're non-zero length, innfeed has dropped > some articles, and those dropped article files have to be manually > processed or those articles will never be correctly sent to peers. A > cron > job checks every hour for such non-zero dropped article files and will > notify news@news if they show up. > > To process one of these dropped article files, first make sure that the > dropped article file doesn't correspond to a currently running innfeed. > The easiest way of checking this is to notice that every running innfeed > process has a dropped article file, and there are always three copies of > innfeed running on newsfeed.stanford.edu. If there are only three > dropped > article files, they all correspond to running innfeed processes. You can > also note that the digits at the end of the file name are the PID of > innfeed and see if that process is running. > > If the file is owned by a running innfeed, stop and restart that instance > of innfeed. The easy way to do that is the command ctlinnd reload > newsfeeds 'restart innfeed' -- the bit between single quotes is just the > log message and is arbitrary. The better way, which only restarts the > innfeed you need to restart, is to use ps to determine whether the > corresponding innfeed is the innfeed-sm instance, the innfeed-lg > instance, > or the innfeed instance (the one that doesn't take a configuration > file on > the command line), and then flush the corresponding pseudosite. For > example, if ps reveals that that innfeed is using the innfeed-sm.conf > file, type ctlinnd flush innfeed-sm\!. (All pseudosite names end in !, > which has to be protected from the shell.) > > After the dropped article file is safely unowned by any running process, > run procbatch -vm <dropped-file>. That will generate innfeed backlog > files for each site mentioned in the dropped article file and put them > somewhere where innfeed will pick them up a while later. procbatch > doesn't > delete the dropped article files itself, so after running procbatch you > should rm the files. > > If the dropped articles were due to a misconfiguration, the generated > backlog file won't correspond to any configured innfeed peer. The best > way of detecting this is to see if there's a .lock file for whatever > backlog file procbatch generated (it will tell you what files it's > generating). If there's no .lock file, innfeed doesn't have that site > configured as a peer, and some more tweaking and fixes to innfeed.conf > will probably be needed to correct whatever's going wrong. > > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > > > > Very instructive! Absolutely! I for one believe we need more such articles. <hint to Russ> ;-) Thanks for this; it is saved for future reference. -- John No Microsoft, Apple, AT&T, Novell, Trend Micro, nor Ford products were used in the preparation or transmission of this message. The EULA sounds like it was written by a team of lawyers who want to tell me what I can't do. The GPL sounds like it was written by a human being, who wants me to know what I can do.
Technical Details
Message-ID:
<gpmt31$cpk$1@optima7.xanadu-bbs.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.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.news-service.com!nntp.club.cc.cmu.edu!74.222.216.191.MISMATCH!optima7.xanadu-bbs.net!not-for-mailReferences:
<gpjomm$in7$1@optima7.xanadu-bbs.net> <gpjrv1$sjk$1@news.trigofacile.com> <gpl7ru$uhd$1@optima7.xanadu-bbs.net> <gpm8vt$9fs$1@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <gpmt31$cpk$1@optima7.xanadu-bbs.net> Subject: Re: Abandoned remnants in newsfeeds Date: Mon, 16 Mar 2009 20:06:41 -0500 From: "John F. Morse" <xanadu.bbs@example.invalid> References: <gpjomm$in7$1@optima7.xanadu-bbs.net> <gpjrv1$sjk$1@news.trigofacile.com> <gpl7ru$uhd$1@optima7.xanadu-bbs.net> <gpm8vt$9fs$1@news.trigofacile.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.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.news-service.com!nntp.club.cc.cmu.edu!74.222.216.191.MISMATCH!optima7.xanadu-bbs.net!not-for-mail Newsgroups: news.software.nntp Organization: Xanadu BBS Lines: 101 Reply-To: dont.bother NNTP-Posting-Host: n100.xanadu-bbs.net Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: optima7.xanadu-bbs.net 1237252001 13108 192.168.89.210 (17 Mar 2009 X-Complaints-To: newsmaster@xanadu-bbs.net NNTP-Posting-Date: Tue, 17 Mar 2009 01:06:41 +0000 (UTC) User-Agent: Thunderbird 2.0.0.19 (X11/20090105) In-Reply-To: <gpm8vt$9fs$1@news.trigofacile.com>