🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #22967

Throttling nnrpd connection rate

#22967
From: sho_wie
Date: Wed, 05 Nov 1997 00:00
31 lines
1760 bytes
We are currently getting nailed with a number of local users firing up
some news clients (Nutscrape Communicator?) so that they attempt a
connection every 2-3 seconds, presumably just to check if there's a new
article in a particular group then retrieve it. Needless to say our server
has shot up from a steady state of 7-8% of the CPU up to a regular 40-50%
of the CPU over the past year or so. I'll assume this is because of all 
the spawning of new nnrpd processes INND has to do to service these people.

Does anyone know of any techniques to throttle connections so that if a
particular connection request comes from an IP address which has connected
in the previous n seconds or less, it will be rejected? We'd like to do 
it at the server end, rather than "recommending" to users they stop doing 
it. If you acquire my drift :)

We're running INN 1.4sec2 and will be going to 1.7 real soon. Is such a
facility available under 1.7? I know you can kick connections based on
idle time or idle time after connection establishment. 

Any idea/tips/patch pointers would be appreciated...

Thanks,

Scotty (remove the underscores to get my email address)
-- 
Steve Howie			
Netnews and Listserv Admin
University of Guelph


Technical Details
Message-ID: <63qh4b$pla@ccshst05.cs.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-mail

Show Full Headers
Complete Article Headers
Message-ID: <63qh4b$pla@ccshst05.cs.uoguelph.ca>
Subject: Throttling nnrpd connection rate
Date: Wed, 05 Nov 1997 00:00:00 +0000
From: sho_wie@uo_guelp_ph.c_a
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: 287237439
Distribution: inet
Organization: Biled heids 'r us
Newsgroups: news.software.nntp