Article View: news.software.nntp
Article #25286Re: Modify INND to control number of connections/host
From: haggisman
Date: Fri, 16 Jan 1998 00:00
Date: Fri, 16 Jan 1998 00:00
42 lines
2554 bytes
2554 bytes
Charlie Reboot <f00fc7c8@int.tele.dk> wrote: >On Wed, 45 Dec 1997, david@nis.net wrote: >> Hey Anyone out there interested in modifying the rc.c source >> file to restrict the number of simultaneous connections per >> allowable host... >> This would be a valuable addition to INND since my news feeds >> seem to want to connect 6 to 8 times at once feeding my server >> more files than it can process without slowing down the >> newsreading services... > Why would you want to do this? You're taking the wrong approach. >If your newsreading is being slowed down at all by multiple connections, >you need to tune your performance. Our machine with 280 incoming >connections responds just as quickly as it does with 4, and is not slowed >down at all. I find the biggest problem not to be the actual number of connections, but rather the *rate* at which new connections arrive. The faster they come, the more work INND (or inetd) has to do. I'm looking at writing a small rc.c hack to put a limit on the interval between successive connections from the same IP address. This problem has surfaced since we had a very large student residence wired directly into our backbone network in the last few months, and you get users checking an individual newsgroup MANY times per minute for new articles. Our INN CPU usage ballooned from less than 10% to an average of 35-40% over the last year, with roughly the same number of concurrent connections. I don't even want to start about how brain-dead newsreaders like Nutscrape's exacerbate the situation. We've installed actived and found out it helps immensely in this area too. But even though it lets nnrpd do much less work per connection, it's can't control the rate of new connections Scotty -- Steve Howie Netnews and Listserv Admin University of Guelph
Technical Details
Message-ID:
<69ma3v$k6i@ccshst05.uoguelph.ca>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:
<884792328.98566155@dejanews.com> <Pine.BSF.3.96.980115015138.25548D-100000@coredump.int.tele.dk>Show Full Headers
Complete Article Headers
Message-ID: <69ma3v$k6i@ccshst05.uoguelph.ca> Subject: Re: Modify INND to control number of connections/host Date: Fri, 16 Jan 1998 00:00:00 +0000 From: haggisman@moo.you References: <884792328.98566155@dejanews.com> <Pine.BSF.3.96.980115015138.25548D-100000@coredump.int.tele.dk> 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: 316504984 Distribution: inet Organization: Biled heids 'r us User-Agent: tin/pre-1.4-971224 (UNIX) (HP-UX/A.09.04 (9000/887)) Newsgroups: news.software.nntp