From d3eae6b85f6f29f04b2e31b78803d9500a8ff0a5 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 3 May 2010 00:18:19 +0100 Subject: [PATCH 1/1] comment for dealing with wedge problems --- backends/innduct.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/backends/innduct.c b/backends/innduct.c index 2d17982..18ce508 100644 --- a/backends/innduct.c +++ b/backends/innduct.c @@ -3,6 +3,26 @@ * build-lfs/backends/innduct --connection-timeout=30 --no-daemon -C ../inn.conf -f `pwd`/fee sit localhost */ +/*-- +flow control notes +to ensure articles go away eventually +separate queue for each input file + queue expiry + every period, check head of backlog queue for expiry with SMretrieve + if too old: discard, and check next article + also check every backlog article as we read it + flush expiry + after too long in SEPARATED/DROPPING ie Separated/Finishing/Dropping + one-off: eat queued articles from flushing and write them to defer + one-off: connfail all connections which have any articles from flushing + newly read articles from flushing go straight to defer + this should take care of it and get us out of this state +to avoid filling up ram needlessly + input control + limit number of queued articles for each ipf + pause/resume inputfile tailing +--*/ + /* * Newsfeeds file entries should look like this: * host.name.of.site[/exclude,exclude,...]\ -- 2.30.2