Article View: news.software.nntp
Article #26632Re: INN 1.7.2 & long NNRP startup delays
From: Edward S. Marshall
Date: Wed, 04 Mar 1998 00:00
Date: Wed, 04 Mar 1998 00:00
50 lines
3102 bytes
3102 bytes
[Posted and mailed] In article <6cu2n3$pip$1@kold.kiva.net>, cdent@kold.kiva.net (Chris Dent) writes: > run innd on another port and have your feeds feed to that port and > run nnrpd out inetd. I have a question for anyone who has done this: how did you handle the transition from one port to the other? Specifically, are there patches out there that give INN the ability to bind more than one port? Basically, I'm working on splitting our services out, but right now, the easiest way would really be to fire up either two copies of innd (blecch) or have one copy bind and monitor two ports. > 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 The nice part about this is that it prepares you for an eventual split of services into two physically separate machines, and you can do it without any real disruption of service, since the IP address will simply route to the new machine when you end up moving to a multi-machine architecture. > 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. Just to throw one more into the mix...inetd is traditionally very bad for this kind of thing, because of the fact that it can croak when it gets pummelled with too many connections. Dan Bernstein's ucspi-tcp package, which includes a little tool called tcpserver, works wonders in this case; it'll handle concurrency (like inetd) without bugging out (unlike inetd ;-). You can get it at: ftp://koobera.math.uic.edu/www/ucspi-tcp.html (Those of you running QMail have probably come across this package already.) -- .-----------------------------------------------------------------------------. | Edward S. Marshall <emarshal@xnet.com> | Systems/Network Administrator, | | http://www.xnet.com/~emarshal/ | XNet Information Systems, Inc. | `-----------------------------------------------------------------------------' [ Do you spam? Massmail? Crosspost heavily? Are you in violation of RFC 1855? ] [ Then send email to spam@logic.net, and repent your evil ways. ]
Technical Details
Message-ID:
<6di7pn$qic$1@flood.xnet.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:
<34EDA43B.41C67EA6@ka.net> <6cu2n3$pip$1@kold.kiva.net>Show Full Headers
Complete Article Headers
Message-ID: <6di7pn$qic$1@flood.xnet.com> Subject: Re: INN 1.7.2 & long NNRP startup delays Date: Wed, 04 Mar 1998 00:00:00 +0000 From: emarshal@xnet.com (Edward S. Marshall) References: <34EDA43B.41C67EA6@ka.net> <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 X-Deja-AN: 330581791 To: cdent@kold.kiva.net (Chris Dent) Content-Type: text/plain; charset=us-ascii Organization: XNet - The Midwest's Leading Network Service Provider - (630) 983-6064 Mime-Version: 1.0 Newsgroups: news.software.nntp