🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Jason Burnett Wed, 05 Mar 1997 00:00
help with inn1.5.1 throttling problem
#15555
Author: Jason Burnett
Date: Wed, 05 Mar 1997 00:00
18 lines
1083 bytes
hi

i just upgraded to inn1.5.1, and all is well except that about 5 times
a day, the server throttles itself with the following error:

Too many open files writing article file -- throttling

I never got this with inn1.4.  has anyone seen this, or know how to fix
it?  i couldn't find it in the faq.  please respond via email.  thanks.

-- 
*******************************************************
* jason@pdnt.com	       Planet Digital         *
* http://www.pdnt.com	       Network Technologies   *
*******************************************************

Re: help with inn1.5.1 throttling problem
#15531
Author: James Brister
Date: Wed, 05 Mar 1997 00:00
26 lines
1291 bytes
jason@ashd.com (Jason Burnett) writes:

> i just upgraded to inn1.5.1, and all is well except that about 5 times
> a day, the server throttles itself with the following error:
> 
> 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.

James
-- 
James Brister                                            brister@vix.com
Internet Software Consortium    http://www.isc.org/isc   inn@isc.org 

Re: help with inn1.5.1 throttling problem
#15533
Author: Greg Louis
Date: Wed, 05 Mar 1997 00:00
21 lines
1442 bytes
Jason Burnett <jason@ashd.com> wrote:
> i just upgraded to inn1.5.1, and all is well except that about 5 times
> a day, the server throttles itself with the following error:

> Too many open files writing article file -- throttling

> I never got this with inn1.4.  has anyone seen this, or know how to fix
> it?  i couldn't find it in the faq.  please respond via email.  thanks.

The error in question is reported not by innd but by innxmit, at least on my
brand-new 1.5.1 upgrade.  Anyone seen this who can answer or point to an
answer?

-- 
| G r e g  L o u i s                   | pgp:email key@PublicKey.com |
|   http://www.interlog.com/~glouis    |   id glouis@dynamicro.on.ca |
| Ne te fais jamais indiquer le chemin |     2B C6 4F 5A 66 57 FF 4E |
|   par qui ne sait pas s'egarer!      |     9F BC 5D AA 23 04 76 A9 |

Re: help with inn1.5.1 throttling problem
#15592
Author: Cracker Buster
Date: Thu, 06 Mar 1997 00:00
58 lines
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---|   :?. ;. .^#  .   ^
                                    |      |    < * '   .   ,  *
                                     \     |      .  " .   ^


Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads