Article View: news.software.nntp
Article #59981Re: Multiple innfeeds running
From: Russ Allbery
Date: Thu, 22 Aug 2002 03:15
Date: Thu, 22 Aug 2002 03:15
52 lines
3064 bytes
3064 bytes
Homer Wilson Smith <homer@adore.lightlink.com> writes:
> Linux 2.0.38, innd 1.72, innfeed 0.10.1.6
> newsfeeds file appeneded below
> I notice that
> ctlinnd reload newsfeeds ""
> causes a second process of innfeed to start. Shortly after, ps
> shows two innfeeds running. Usually but not always the earlier one
> dies off after a short while, maybe 20 seconds or so. But sometimes
> it doesn't and then they both lock up and news stops going out.
> So far this is NOT happening during the expire run.
> The locking up is new behavior, this server has been running for
> YEARS without flaw.
It may be new for you, but I've encountered this periodically for as long
as I've been running innfeed. Although it doesn't actually lock up (at
least for me); it just starts dumping stuff into innfeed.dropped* files.
When you reload newsfeeds, INN closes the pipe to the existing innfeed
processes and then starts new ones. The old ones finish up what they're
doing and then exit. Sometimes the locking doesn't work properly, the new
innfeed processes can't acquire a lock, and they start writing lines to
dropped files.
When that happens, you have to restart all the innfeed processes so that
they flush their dropped files and then run procbatch -m on the dropped
files and then delete them.
It's annoying, but it's not yet annoyed me enough to try to figure out
what's going wrong with locking.
> 1.) Is a reload of newsfeeds done automatically periodically?
No, but newsfeeds is reloaded whenever a newsgroup is created or removed.
> 3.) Is the first one supposed to die off?
Yes. And it will, eventually; I've never seen it not eventually die. But
if it's feeding a particularly slow host, it tries to finish its queue,
which I've seen take up to an hour.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<yly9azbn37.fsf@windlord.stanford.edu>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!nntp.stanford.edu!not-for-mailReferences:
<3d64546e$1@news2.lightlink.com>Show Full Headers
Complete Article Headers
Message-ID: <yly9azbn37.fsf@windlord.stanford.edu> Subject: Re: Multiple innfeeds running Date: Wed, 21 Aug 2002 20:15:40 -0700 From: Russ Allbery <rra@stanford.edu> References: <3d64546e$1@news2.lightlink.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!nntp.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 51 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.Stanford.EDU 1029986140 27803 171.64.13.23 (22 Aug 2002 03:15:40 GMT) X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Honest Recruiter, sparc-sun-solaris2.6) Cancel-Lock: sha1:exQtYMVTBqE2arGR6F2NzlN3O98=