Thread View: news.software.nntp
11 messages
11 total messages
Started by Christiaan Keet
Thu, 19 Aug 1999 00:00
diablo & cleanfeed
Author: Christiaan Keet
Date: Thu, 19 Aug 1999 00:00
Date: Thu, 19 Aug 1999 00:00
17 lines
1374 bytes
1374 bytes
Been experimenting with diablo and cleanfeed on a test machine and I was very impressed. As soon as I stuck it on a busy, live machine it died though :( It seems fine while there are 2 or 3 incoming connections, but as soon as it jumps up to 10 or so incoming connections, the diablo parent process starts alternating between piperd and pipdwt states and refuses to spawn any children or do anything else. Has anyone seen similar or does anyone have any suggestions please? Versions of everything: FreeBSD 3.2-RELEASE, Diablo 1.24-rel, cleanfeed-0.95.7b, perl 5.005_03 (identical on the test and live machines) - Christiaan
Re: diablo & cleanfeed
Author: Joe Greco
Date: Thu, 19 Aug 1999 00:00
Date: Thu, 19 Aug 1999 00:00
41 lines
2720 bytes
2720 bytes
In news.software.nntp article <slrn7rnoqk.197.keet@lorien.noc.easynet.net>, keet@easynet.net wrote: :Been experimenting with diablo and cleanfeed on a test machine and :I was very impressed. As soon as I stuck it on a busy, live :machine it died though :( : :It seems fine while there are 2 or 3 incoming connections, but as :soon as it jumps up to 10 or so incoming connections, the diablo :parent process starts alternating between piperd and pipdwt states :and refuses to spawn any children or do anything else. Has anyone :seen similar or does anyone have any suggestions please? : :Versions of everything: FreeBSD 3.2-RELEASE, Diablo 1.24-rel, :cleanfeed-0.95.7b, perl 5.005_03 (identical on the test and live :machines) Since outbound feed management and new feed acceptance are both handled by the main Diablo process, and the filter is jammed into the outbound feed management subsystem, really bad things start happening when you get some performance issues in that section of the system. Check your VM utilization, you're probably causing the filter to swap, once that starts the ballgame is over. When your system is swapping, it will cause either the filter or the parent Diablo process to block for a few moments while it is swapped back in, and this starts traffic backing up just like a freeway traffic jam. If you're taking a full feed, you need to be able to handle 10arts/sec, which means you have .1 second to clear an article and be on with the next one. On the one system I have where I run Cleanfeed, I've got about six streams from two peers inbound, and one stream out. With a Cleanfeed that is tuned to have some larger caches than normal, I'm seeing an overall VM footprint of 220MB active, meaning the machine _needs_ 256MB or maybe even 384MB. On other systems, where I run a different filter that likes to map large databases, I've got a 2GB VM footprint and I've had to tune the systems a bit to remain within the available RAM. ... JG
Re: diablo & cleanfeed
Author: Allan Joergensen
Date: Thu, 19 Aug 1999 00:00
Date: Thu, 19 Aug 1999 00:00
14 lines
1401 bytes
1401 bytes
Brad Knowles <brad@shub-internet.org> wrote: > I'm running it on FreeBSD 3.2-STABLE, Diablo 1.24-REL (plus a few >trivial local modifications in the way diablo prints out some error >messages), and 0.95.8-beta1. Is Cleanfeed 0.95.8b1 available to the public? -- Allan Joergensen (AJ548-RIPE) - [DW] on Undernet - <URL:http://www.nowhere.dk/> Not speaking for Telia Net, unless stated so. "It is with deepest regrets we must inform you that you're a weenie."
Re: diablo & cleanfeed
Author: Brad Knowles
Date: Thu, 19 Aug 1999 00:00
Date: Thu, 19 Aug 1999 00:00
18 lines
1568 bytes
1568 bytes
In article <slrn7ro6i4.vgp.dw@coredump.nowhere.dk>, Reply in the group
please wrote:
> Is Cleanfeed 0.95.8b1 available to the public?
You need to talk to Jeremy about that. I believe that he's made a
number of other changes since (which we haven't seen yet), but I don't
think he's publicly released a newer version than the latest 0.95.7.
Myself, I'd really love to see some of his later beta code. I've
heard some rumours about some of the features he's since implemented, and
if just half the rumours are true, I think we'd benefit quite a bit.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
<http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>
Re: diablo & cleanfeed
Author: Brad Knowles
Date: Thu, 19 Aug 1999 00:00
Date: Thu, 19 Aug 1999 00:00
41 lines
2697 bytes
2697 bytes
In article <slrn7rnoqk.197.keet@lorien.noc.easynet.net>, keet@easynet.net wrote:
> Versions of everything: FreeBSD 3.2-RELEASE, Diablo 1.24-rel,
> cleanfeed-0.95.7b, perl 5.005_03 (identical on the test and live
> machines)
I'm running it on FreeBSD 3.2-STABLE, Diablo 1.24-REL (plus a few
trivial local modifications in the way diablo prints out some error
messages), and 0.95.8-beta1.
It's my understanding that between 0.95.7 and 0.95.8, Jeremy changed
the way he's reading in articles to be scanned for spam, resulting in
*significant* performance improvements. So much so that we were unable to
run cleanfeed effectively prior to this change on our previous news
peering server (PPro200 w/ 256MB RAM), and after the change cleanfeed only
ever ate up something like 10% of the CPU.
Our current news peering server has dual PIII CPUs @ 450Mhz, 1GB RAM,
and I'm running the dhistory file on a memory-based filesystem (e.g., RAM
disk in virtual memory). I've got 230MB RAM active right now, 678MB
inactive, 48MB wired, 42MB cache, ~8M Buffer cache, and ~3MB free. Idle
times are running 80-90%, and load averages stay very reliably down around
1.5 or lower (with peaks to 3.0 when feeder-stats.pl is running).
However, we're not taking anywhere close to a full feed (only 4-5GB
daily influx, with text plus a few selected binary newsgroups), nor are we
pushing all that much data (8-10GB outbound), with 450,000-575,000
articles input per day and about 2,735,000-3,335,000 articles outbound per
day. At the moment, we only have about 66 peers.
Our previous news peering server just couldn't begin to properly
handle this load. I had seen load spikes as high at 100, and the load
never dropped down below three to five.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
<http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>
Re: diablo & cleanfeed
Author: Jeremy
Date: Thu, 19 Aug 1999 00:00
Date: Thu, 19 Aug 1999 00:00
30 lines
2090 bytes
2090 bytes
Brad Knowles <brad@shub-internet.org> wrote: >> Is Cleanfeed 0.95.8b1 available to the public? > > You need to talk to Jeremy about that. I believe that he's made a > number of other changes since (which we haven't seen yet), but I don't > think he's publicly released a newer version than the latest 0.95.7. Nope, and it's been far too long. But those silly people at work keep giving me things to do... :) > Myself, I'd really love to see some of his later beta code. I've > heard some rumours about some of the features he's since implemented, and > if just half the rumours are true, I think we'd benefit quite a bit. If you're feeling lucky, you're welcome to my current code. But it's not only not released, it's not really suitable for release; there are things that are half-implemented, things that need cleaning up, and there is no documentation on the changes, which is somewhat significant because I have completely rewritten the EMP filter and the configuration settings are totally different. The logging is totally different too, so if you've got something processing the cleanfeed.log files, it will break. And it's only been tested on Cyclone, and only with my specific configuration. Etc. But it's running okay for me. -- Jeremy | jeremy@exit109.com "Never tell me the odds." --Han Solo
Re: diablo & cleanfeed
Author: Joe Greco
Date: Fri, 20 Aug 1999 00:00
Date: Fri, 20 Aug 1999 00:00
33 lines
2345 bytes
2345 bytes
In news.software.nntp article <rrord1t2boh58@news.supernews.com>, Jeremy <jeremy@exit109.com> wrote: :Brad Knowles <brad@shub-internet.org> wrote: : :>> Is Cleanfeed 0.95.8b1 available to the public? :> :> You need to talk to Jeremy about that. I believe that he's made a :> number of other changes since (which we haven't seen yet), but I don't :> think he's publicly released a newer version than the latest 0.95.7. : :Nope, and it's been far too long. But those silly people at work keep :giving me things to do... :) : :> Myself, I'd really love to see some of his later beta code. I've :> heard some rumours about some of the features he's since implemented, and :> if just half the rumours are true, I think we'd benefit quite a bit. : :If you're feeling lucky, you're welcome to my current code. But it's not :only not released, it's not really suitable for release; there are things :that are half-implemented, things that need cleaning up, and there is no :documentation on the changes, which is somewhat significant because I :have completely rewritten the EMP filter and the configuration settings :are totally different. The logging is totally different too, so if :you've got something processing the cleanfeed.log files, it will break. :And it's only been tested on Cyclone, and only with my specific :configuration. Etc. But it's running okay for me. Well, Diablo looks like Cyclone to Cleanfeed. :-) This is not a guarantee it'll work of course. ... JG
Re: diablo & cleanfeed
Author: Russ Allbery
Date: Fri, 20 Aug 1999 00:00
Date: Fri, 20 Aug 1999 00:00
31 lines
2290 bytes
2290 bytes
Jeremy <jeremy@exit109.com> writes: > If you're feeling lucky, you're welcome to my current code. But it's > not only not released, it's not really suitable for release; there are > things that are half-implemented, things that need cleaning up, and > there is no documentation on the changes, which is somewhat significant > because I have completely rewritten the EMP filter and the configuration > settings are totally different. The logging is totally different too, > so if you've got something processing the cleanfeed.log files, it will > break. And it's only been tested on Cyclone, and only with my specific > configuration. Etc. But it's running okay for me. Which reminds me, the current INN 2.3 is already more filter-friendly but requires a small patch to Cleanfeed, and I'm planning some additional changes that will make it even more filter-friendly and faster, but will require support from the filter. Need to get back to that work.... Among other things, INN has MD5 built in, so as soon as I put together the magic code to expose that to filters, there won't be any need to install the MD5 Perl module to run Cleanfeed under INN. And I'm going to lift the binary check into C, which should hopefully make it substantially faster; apart from the fuzzy MD5 body manipulation (and maybe even including that, since that doesn't run on long articles), that's currently the most time-intensive bit of code in my filters, which look a lot like Cleanfeed. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: diablo & cleanfeed
Author: Ben C. O. Grimm
Date: Fri, 20 Aug 1999 00:00
Date: Fri, 20 Aug 1999 00:00
19 lines
1476 bytes
1476 bytes
On Thu, 19 Aug 1999 20:48:33 GMT, Jeremy <jeremy@exit109.com> wrote: > Brad Knowles <brad@shub-internet.org> wrote: > >> Is Cleanfeed 0.95.8b1 available to the public? > And it's only been tested on Cyclone, and only with my specific > configuration. Etc. But it's running okay for me. Consider 0.95.8-beta1 pretty well tested on a production INN 1.7.2-insync. Works absolutely fine. -- - Ben C. O. Grimm ----------------- Ben.Grimm@wirehub.net - - Wirehub! Internet Engineering - http://www.wirehub.net/ - - Wirehub! Backbone --- http://doema.wirehub.net/wirehub/ - - Private Ponderings ------- http://libertas.wirehub.net/ -
Re: diablo & cleanfeed
Author: Robert Kiessling
Date: Mon, 23 Aug 1999 00:00
Date: Mon, 23 Aug 1999 00:00
20 lines
1609 bytes
1609 bytes
keet@lorien.noc.easynet.net (Christiaan Keet) writes: > Been experimenting with diablo and cleanfeed on a test machine and > I was very impressed. As soon as I stuck it on a busy, live > machine it died though :( > > It seems fine while there are 2 or 3 incoming connections, but as > soon as it jumps up to 10 or so incoming connections, the diablo > parent process starts alternating between piperd and pipdwt states > and refuses to spawn any children or do anything else. Has anyone > seen similar or does anyone have any suggestions please? How much CPU does the cleanfeed process use? The check for binary article contents is terribly inefficient for certain articles, which led to a nearly-lockup here and on a couple of other sited. A patch making a quadratic behaviour linear solves this. Robert
Re: diablo & cleanfeed
Author: Brad Knowles
Date: Mon, 23 Aug 1999 00:00
Date: Mon, 23 Aug 1999 00:00
19 lines
1664 bytes
1664 bytes
In article <x53dxbfic4.fsf@delphi.local.easynet.de>, Robert Kiessling
<robert@easynet.de> wrote:
> How much CPU does the cleanfeed process use? The check for binary
> article contents is terribly inefficient for certain articles, which
> led to a nearly-lockup here and on a couple of other sited. A patch
> making a quadratic behaviour linear solves this.
On our system, the CPU time for cleanfeed is only exceeded by the CPU
time for the main Diablo daemon. However, this has never seemed
excessive, certainly not after upgrading from 0.95.7 to 0.95.8-beta1 where
the record delimitor was changed so that entire article is sucked in with
one command, and then inspected once it's been read in.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
<http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>
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