Article View: news.software.nntp
Article #50648Re: launching nnrpd
From: Russ Allbery
Date: Thu, 15 Feb 2001 23:32
Date: Thu, 15 Feb 2001 23:32
33 lines
2548 bytes
2548 bytes
Tony Rentschler <walterr@bellatlantic.net> writes:
> I have a Sparc Solaris 2.6 reader machine running INN 2.2.2 that hosts
> 100-200 concurrent readers, most of whom are pulling news
> programatically. This means the readers are generally "busy," and
> connect and disconnect every few minutes.
> Would it be more efficient to launch nnrpd from inetd rather than have
> INN fork() to handle the readers?
Yes. I recommend that configuration; I think it's cleaner for a whole
bunch of reasons. (Note, however, that INN has some basic rate limiting
that it does in front of nnrpd that you lose unless your inetd-equivalent
can also do the same thing, if you care; I haven't cared so far.)
> Along the same lines, are there any advantages/disadvantages to
> launching nnrpd from inetd as opposed to starting it up with the "-D"
> option? From the man pages, I see that nnrpd -D requires a restart if
> the configuration files are changed - a disadvantage, to my mind.
I don't entirely trust nnrpd -D yet; it has some oddities. I prefer to
use an inetd equivalent (I use tcpserver). But that may just be me. In
theory, it could be a bit quicker since the parent could set up the active
file and storage subsystem and whatnot and hand it off to the children
more quickly than them setting it all up themselves, but I'm not sure
that's the case.
--
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:
<ylzofnplni.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!supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!hub.org!hub.org!feed.textport.net!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mailReferences:
<3A8BC46A.F05EF780@bellatlantic.net>Show Full Headers
Complete Article Headers
Message-ID: <ylzofnplni.fsf@windlord.stanford.edu> Subject: Re: launching nnrpd Date: Thu, 15 Feb 2001 23:32:49 +0000 From: Russ Allbery <rra@stanford.edu> References: <3A8BC46A.F05EF780@bellatlantic.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!supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!hub.org!hub.org!feed.textport.net!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 32 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.Stanford.EDU 982279969 11606 171.64.13.23 (15 Feb 2001 23:32:49 GMT) X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)