Article View: news.software.nntp
Article #14435Re: News over NFS
From: Nick Christenson
Date: Sun, 26 Jan 1997 00:00
Date: Sun, 26 Jan 1997 00:00
41 lines
2505 bytes
2505 bytes
In article <5c9dnh$q4e@node6.frontiernet.net>, Dan Foster <dsf@node6.frontiernet.net> wrote: >In article <5c988r$99i@thailand.it.earthlink.net>, >Nick Christenson <npc@thailand.it.earthlink.net> wrote: >>>Couldn't you pop the nnrpds out of inetd just as easily? Might save some >>>RAM (as well as some dependance on innd being there). >> >>Yes. This works just swell. Make sure your inetd is patched (if >>necessary) to be able to spawn a lot of connections in a short amount >>of time. > >Wouldn't it, out of curiosity, have a lower cost to have a nnrpd that >binds to port 119 and forks as needed children to handle each NNRP >connect as opposed to having an huge select() loop like you do with >inetd? Or would that offer neglible advantage (little or none)? I think it would offer an advantage, but I'm not sure it's worth the cost of maintaining a software package seperate from the standard one. Of course, if the ISC would like to put this option into the stock nnrpd, it's likely that I'd use it. This is all IMHO, of course. >Or, like most httpd's... pre-fork x numbers of daemons, which would >possibly make sense because you'd usually know roughly how many you were >running during an average period as well as during peak times. Either way, I think it would be an improvement, but not a huge one. The nnrpd processes are far more persistant than httpds, so the overall cost of an expensive startup is lower. >I've seen what can happen when inetd gets overloaded, and it isn't >pretty. ;-) fork()/exec()'s are expensive, so if you can just arrange so >that most happens during relatively idle periods, that might help offset >whatever cost for bind()'ing and watching a select() loop for all those >nnrpd's... -- Nick Christenson EarthLink Network, Inc. npc@earthlink.net
Technical Details
Message-ID:
<5chjo1$d3e@thailand.it.earthlink.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!not-for-mailReferences:
<32DD4F82.652A@isdnet.net> <5c03av$eib$1@thor.atcon.com> <5c988r$99i@thailand.it.earthlink.net> <5c9dnh$q4e@node6.frontiernet.net>Show Full Headers
Complete Article Headers
Message-ID: <5chjo1$d3e@thailand.it.earthlink.net> Subject: Re: News over NFS Date: Sun, 26 Jan 1997 00:00:00 +0000 From: npc@thailand.it.earthlink.net (Nick Christenson) References: <32DD4F82.652A@isdnet.net> <5c03av$eib$1@thor.atcon.com> <5c988r$99i@thailand.it.earthlink.net> <5c9dnh$q4e@node6.frontiernet.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!not-for-mail X-Deja-AN: 212480942 Distribution: inet Organization: Earthlink Network, Inc. Newsgroups: news.software.nntp