Article View: news.software.nntp
Article #8573Re: idea: pre-spawned nnrpds
From: T. William Wells
Date: Mon, 17 Jun 1996 00:00
Date: Mon, 17 Jun 1996 00:00
29 lines
2166 bytes
2166 bytes
In article <4q3gth$n03@brasil.moneng.mei.com>, Joe Greco <jgreco@brasil.moneng.mei.com> wrote: : The problem isn't that it takes a while to spawn an nnrpd. It's that it : takes a while for INN to come to the realization that there's another : connection.. due to the monolithic singlethreaded design, it's hard to : avoid this. The real solution, which some of us are working on in prototype : form, is to pull nnrpd processing out of INN entirely, which allows nifty : new features (such as connection concurrency counters, etc) to be added. I modified innd to bind a single address (it's a one line change) and told all my feeds to send to that address. Now, if inetd could be convinced to bind a single address rather than all addresses, all that would be necessary would be to add a line to inetd.conf. Since it doesn't, there's a tiny bit of code (that once was connectd :-) that just accepts connections on a single address and forks off an nnrpd. Add an alias to my ethernet interface for the alternate IP address and that's the sum of the changes. BTW, there is another advantage to this approach. When I'm working on the news server, I often want to take down innd. In the previous setup, that meant that no users could connect. Now, they can even when innd is down. I believe that if users try to post under these circumstances, they're screwed so I think my next bit of hackery is to let posts be spooled in in.coming. If that's done, then the posting end of INN will function independently of the server proper and that's a good thing....
Technical Details
Message-ID:
<4q4ahm$42o@twwells.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!not-for-mailReferences:
<4p9ta0$1vn@thunder.mgl.ca> <4q3gth$n03@brasil.moneng.mei.com>Show Full Headers
Complete Article Headers
Message-ID: <4q4ahm$42o@twwells.com> Subject: Re: idea: pre-spawned nnrpds Date: Mon, 17 Jun 1996 00:00:00 +0000 From: bill@twwells.com (T. William Wells) References: <4p9ta0$1vn@thunder.mgl.ca> <4q3gth$n03@brasil.moneng.mei.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!not-for-mail X-Deja-AN: 160671015 Distribution: inet Organization: None, Mt. Laurel, NJ Newsgroups: news.software.nntp