Article View: news.software.nntp
Article #65246INN and exponential backoff
From: Carsten Fuchs
Date: Sun, 11 May 2003 13:50
Date: Sun, 11 May 2003 13:50
80 lines
3650 bytes
3650 bytes
Jeffrey M. Vinocur wrote:
> Well, the exponential posting backoff in inn.conf (or in
> readers.conf, if you want to exempt yourself, for example) might
> help.
Hi!
Well, I just read the inn.conf man pages, in order to learn how
exponential backoff works. Unfortunately, there are some things
I still don't understand:
The man page of inn.conf says in the introductory text to
exponential backoff:
----------------
"Exponential posting backoff works as follows: News clients are indexed by IP
address (or username, see backoffauth below). Each time a post is received from
an IP address, the time of posting is stored (along with the previous sleep
time, see below). After a *configurable* number of posts in a *configurable*
period of time, nnrpd(8) will activate posting backoff and begin to sleep for
increasing periods of time before actually posting anything. Posts will still be
accepted, but an increasingly reduced rate."
-----------------
I see that the number of postings before the backoff algorithm starts
is configurable by backofftrigger:
"This many postings are allowed before the backoff
algorithm is triggered. The default value is 10000."
However, it seems that I'm missing how the *period of time* is configured
within which these postings must occur in order to trigger
the backoff algorithm?
And what happens to postings from a person for who the backoff algorithm
is active, that is, nnrpd is sleeping?
Will the postings be dropped? queued? returned?
Okay, and I'm really lacking a feeling for a proper set
of numbers for the backoff parameters.
I currently use:
[...]
backoffk: 2
backoffpostfast: 10
backoffpostslow: 600
backofftrigger: 10
or even
backoffk: 2
backoffpostfast: 20
backoffpostslow: 3600
backofftrigger: 10
Would you think that these are reasonable numbers?
My interpretation of the second example is that if a poster
posts more frequently than
every 20 seconds, the sleep time will exponentially increase.
If he posts less frequently than every 20 seconds, the backoff time
will not increase, and stay e.g. at a second. That is, posting
a message every 21 seconds is fine (assuming no backoff time
>1 second was built-up earlier).
If somebody has built up a backoff time of say 80000 seconds,
and sends another post after a delay of 3601 seconds, the backoff
algorithm is reset, right?
Thank you very much! :-)
Best,
Carsten
--
Ca3D - Engine http://www.Ca3D-Engine.de
Carsten Fuchs http://www.Ca3D-Engine.de/carsten
Technical Details
Message-ID:
<b9lkfi$4dm$02$1@news.t-online.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <b9lkfi$4dm$02$1@news.t-online.com> Subject: INN and exponential backoff Date: Sun, 11 May 2003 15:50:41 +0200 From: Carsten Fuchs <CarstenFuchs@T-Online.de> 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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail Newsgroups: news.software.nntp Organization: T-Online Lines: 79 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.t-online.com 1052661043 02 4534 moQ9E2GSSOYU-F 030511 13:50:43 X-Complaints-To: abuse@t-online.com X-ID: SxpdT0Z-we6fKWtXstvpC7Iavc9q7r9YD9fFCMIvfeVYIwJu6bUGoS User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3a) Gecko/20021212 X-Accept-Language: en-us, en