🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #26490

Re: INN 1.7.2 & long NNRP startup delays

#26490
From: Chris Dent
Date: Tue, 24 Feb 1998 00:00
35 lines
1985 bytes
In article <34EDA43B.41C67EA6@ka.net>, Mike Neagle  <mneag@ka.net> wrote:
>When I connect to my newserver running INN 1.7.2 for client viewing, it
>takes 10-20 seconds before printing out the opening status message. 
>Once connected, it runs quick and beautifully.  What could be causing
>INN to take so long to start nnrp?

From what I've been able to tell this is usually caused because innd 
is too busy dealing with incoming feeds to get around to spawning off
the nnrpd process.

Or put another way innd is too busy going round it's select loop to
complete the accept and fork required to start up the nnrpd process.

There are a few different ways around this: 

 have a reader machine and a feeder machine
 run innd on another port and have your feeds feed to that port and
  run nnrpd out inetd.
 get innd to bind to port 119 on only one interface, give that IP to
  your feeders. use a tool that listens for connections on the other
  interfaces and spawns nnrpds

Joe Greco mentions that last method on his patches page and has some
tools do it. That's at: http://www.nntp.sol.net/patches/index.html

I've been working on a similar thing called connd which you can get
from http://www.kiva.net/~cdent Feel free to give it a try if you
want, but it hasn't been extensively tested. I've been using it on
my server for a couple of weeks without issue.
-- 
Chris Dent........SysAdmin
...........Kiva Networking

Technical Details
Message-ID: <6cu2n3$pip$1@kold.kiva.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: <34EDA43B.41C67EA6@ka.net>

Show Full Headers
Complete Article Headers
Message-ID: <6cu2n3$pip$1@kold.kiva.net>
Subject: Re: INN 1.7.2 & long NNRP startup delays
Date: Tue, 24 Feb 1998 00:00:00 +0000
From: cdent@kold.kiva.net (Chris Dent)
References: <34EDA43B.41C67EA6@ka.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: 328115235
Organization: Kiva Networking
Newsgroups: news.software.nntp