🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #20727

Re: Too many open files - throttling

#20727
From: Julio Sanchez
Date: Wed, 20 Aug 1997 00:00
39 lines
2300 bytes
jerry@rigel.whowhere.com (Jerry Aguirre) writes:

> a lot of file descriptors.  Regardless of how many file descriptors you
> are configured for may want to limit incomming connections using something
> like:
> 
> 	ctlinnd param i 32

When doing this it is sometimes convenient to except a few feeds from
the restriction (local posts, local mail-to-news gateways, even some
feeds considered "special", etc.).  This is, of course, controlled
with the help of hosts.nntp.nolimit (q.v.).  Unfortunately, a subtle
bug has inhabited INN for a long time in this area and it does not
work.  I seem to remember that a kludge that fixes this is included in
the 1.6 betas.

In the specific case commented, since we are worried about INN
throttling, we would have to set param i slightly lower than the
absolute maximum so that there is some breathing room left for those
special feeds.  When our worries come from memory use, for instance,
or fighting bozos that have jumped to innfeed opening 8 and 10
parallel connections without understanding the meaning of the
different parameters in it, param i is probably much lower than the
absolute max connection limit, so it is not a problem.

It is clear that the mechanism in INN is not flexible enough to
express some complex scenarios, but, if you have just a few incoming
feeds, you can get a long way with it.  At least, I used to.

Julio

-- 
Julio Sanchez, SGI Soluciones Globales Internet
Tel: (91) 804 28 37 Fax: (91) 804 14 05  WWW: http://www.esegi.es
jsanchez@esegi.es jsanchez@gmv.es
 PGP Key fingerprint =  E5 29 93 6F 41 4E 00 E2  90 11 A1 8C 72 D0 DE 71 

Technical Details
Message-ID: <ueiux1npdr.fsf@rama.esegi.es>
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: <5rss1h$na2$1@owl.inetnebr.com> <5rst0f$mnv$1@synthemesc.insync.net> <5t0fsl$apv$1@pluto.whowhere.com>

Show Full Headers
Complete Article Headers
Message-ID: <ueiux1npdr.fsf@rama.esegi.es>
Subject: Re: Too many open files - throttling
Date: Wed, 20 Aug 1997 00:00:00 +0000
From: Julio Sanchez <jsanchez@esegi.es>
References: <5rss1h$na2$1@owl.inetnebr.com> <5rst0f$mnv$1@synthemesc.insync.net> <5t0fsl$apv$1@pluto.whowhere.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: 268251839
Sender: julio@rama.esegi.es
Organization: SGI Soluciones Globales Internet
Newsgroups: news.software.nntp