-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sun, 9 Jun 2002, Derrick Hudson muttered drunkenly:
>| Yeah the spam[c/d] setup. My average is around 15 seconds, well it is >| an old p133 the slowest appears to be 93 seconds. I am a dialup user >| and when I go online off peak for the first time, fetchmail can throw >| over a 1000 emails at spam[c/d]. I also use DCC and have no >| performance problems there. > > The real problem you have is not so much spamd's performance, but the > fact that it sits idle 99% of the time, then gets slammed with 1K > messages in a matter of seconds. Even with my Duron 750 and not much > else happening, the box can effectively freeze (no UI response) with a > load average of 30 if I hit it with 900+ messages almost > instantaneously. This is very true, 99% of the time spamd sits there waiting for something to happen and then suddenly the poop hits the fan and everything goes haywire. But if I disable spamc in Exim (I used your example config) and leave dcc only I never get above a load average of 2.3 and dccd is flooding with remote servers as well, pointing out that I use spamd with -L. > What you should do is > 1) put this in your exim.conf (IIRC you're using exim) > deliver_queue_load_max = 5.0 > 2) At least while you're retrieving your mail, run queue runners > quite often. I think the debian default is every 15 minutes. > > What this will do is cause exim to only queue the messages, no > delivery processing (SA scanning), if the system's load average is > above 5. When the load average drops below the threshold, the next > queue runner will attempt a delivery. By doing this you can spread > the load over a larger amount of time and not feel the effects as > much. > > Eg my system is "always on", so mail arrives as it arrives (usually > one at a time) so SA has no difficulty snagging a bit of CPU for a > couple seconds even while I'm doing all sorts of other work on the > machine. > I have your setup in place and using the router with a domains option to restrict to to a couple of domains that I collect and forward to another remote box, one of these averages around 5 emails per collection and spamd will bring BSOD over the load average of 5. Strange thing is that I have a couple of those dyn dns entries and somethings I will get 3 or 4 spam mails at once, these also hit performance. but the real problem is that I need something better than a p133 to host spamd :) Sean - -- Sean Rima http://www.tcob1.net Linux User: 231986 Jabber: [EMAIL PROTECTED] THE VIEWS EXPRESSED HERE ARE NOT NECESSARILY THOSE OF MY WIFE. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) Comment: Use GPG for Secure Mail iD8DBQE9A9+heR/L2ZZp3E8RAgbIAKCi4WNotUMNXNK/KWdQBoJxSxrfHACeNd/I IaQmXtjrt4QVq8sLldUR+Po= =6qZC -----END PGP SIGNATURE----- _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk