Article View: news.software.nntp
Article #15592Re: help with inn1.5.1 throttling problem
From: Cracker Buster
Date: Thu, 06 Mar 1997 00:00
Date: Thu, 06 Mar 1997 00:00
58 lines
3546 bytes
3546 bytes
On 5 Mar 1997, James Brister wrote:
> jason@ashd.com (Jason Burnett) writes:
> > Too many open files writing article file -- throttling
>
> I would do a
> ctlinnd name ''
> to see what your incoming connection count is like. If someone is feeding
> you too agressively with innfeed, or another parallel feeding setup, it
> would easily bring this on. Then do
> ctlinnd mode | awk 'NR == 3{print $10}'
> To see what innd thinks the maximum number of files allowed is.
Also look at your rc.news configuration. By default, INN compiles
itself with a limit of 50 simultaneous connections, yet rc.news starts
innd with FLAGS set to -i0 (unlimited number of incoming connections until
you throttle).
I'm running rc.news with -i150, with typically 50 to 80 simultaneous
incoming connections and no noticeable slowdown or problems. Also note
that each outgoing batch file you write for innxmit/nntpsend counts as one
open file, so if you are feeding a large number of peers with innxmit, you
may want to switch to some funnel or channel feeding program that uses
only a single open file (or a much smaller number, depending how you
configure things).
Another thing you can do if you're satisfied with the number of
incoming connections and outgoing batches is to tune your kernel for a
larger number of permitted open files. Details will vary depending on
your OS. Note that when you reach the -i limit and peers start to see the
``400 Too many connections you pig'' message, they'll be backlogging news
for you, so assuming you're not having any other performance problems, I'd
do what I can to increase the max number of open files before reducing the
permitted incoming connections.
One more note is that if a connection is established from a peer but
you suffer repeated bursts of network flakiness, or the peer is distant
and running a channel feed to you, old connections may close but linger as
open on your end for quite some time, momentarily upping the number of
open files above the point of certain death.
Barry Bouws*hic*ma, Radio *hic* PIVEX news ad*hic*ministrangler
+----------------------------------+ \\////// ________________
|Vitame Vas BVV a PIVEX a VINEX '97| \\ | / \
| Exhibition of beer and wines | \(_ x| / Bloooeeahhh!!! |
|04-08 March Brno, Czech Republic| \ __) _/__________________/
+----------------------------------+ __/ _\ ,. .
/ / .%:. * .
| | | . ;>, $ '
| | | .=.~@ . &
UUUU---| :?. ;. .^# . ^
| | < * ' . , *
\ | . " . ^
Technical Details
Message-ID:
<Pine.LNX.3.93.970306120507.120G-100000@radostne-vanoce.radio.cz>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:
<5figmn$gc5$1@sol.pdnt.net> <yy3sp2acers.fsf@velo.pp.vix.com>Show Full Headers
Complete Article Headers
Message-ID: <Pine.LNX.3.93.970306120507.120G-100000@radostne-vanoce.radio.cz> Subject: Re: help with inn1.5.1 throttling problem Date: Thu, 06 Mar 1997 00:00:00 +0000 From: Cracker Buster <luser@Radio.CZ> References: <5figmn$gc5$1@sol.pdnt.net> <yy3sp2acers.fsf@velo.pp.vix.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: 223482239 Organization: Radio Praha -- Cesky Rozhlas 7 Reply-To: ag786@yfn.ysu.edu Newsgroups: news.software.nntp NNTP-Posting-User: luser