🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #14379

Re: News over NFS

#14379
From: Dan Foster
Date: Thu, 23 Jan 1997 00:00
29 lines
1913 bytes
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)?

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.

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...

-Dan Foster
Internet: dsf@frontiernet.net

Technical Details
Message-ID: <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
References: <32DD4F82.652A@isdnet.net> <5bvvmv$3ps8@usenet1y.prodigy.net> <5c03av$eib$1@thor.atcon.com> <5c988r$99i@thailand.it.earthlink.net>

Show Full Headers
Complete Article Headers
Message-ID: <5c9dnh$q4e@node6.frontiernet.net>
Subject: Re: News over NFS
Date: Thu, 23 Jan 1997 00:00:00 +0000
From: dsf@node6.frontiernet.net (Dan Foster)
References: <32DD4F82.652A@isdnet.net> <5bvvmv$3ps8@usenet1y.prodigy.net> <5c03av$eib$1@thor.atcon.com> <5c988r$99i@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-mail
X-Deja-AN: 211874028
Distribution: inet
Organization: Frontier Internet, A reliable part of your life
Newsgroups: news.software.nntp