At 8/23/03 09:54 AM , Alex J. Avriette wrote:
There was recently a construction accident here which caused our MX to be offline for a week. We did not have a backup MX, and as such, there were about 10,000 messages waiting when we came back online. The MX chewed and chewed and chewed, but eventually OpenBSD's otherwise fairly stable kernel panicked. I suppose it can be forgiven for this, as the load was around 30 as it processed many emails, each one launching its own sa process, which then tried to read the disk, became io blocked, and so on.

Hi. I can't speak to your issue with Bayes file corruption, but I have recently had to deal with huge amounts of mail spiking my CPU. (Admittedly, this isn't hard, since my mail server is a Pentium (that's Pentium I, pre-MMX) at 133 MHz with 64 MB of RAM (and it's also running Apache, MySQL, and a few other things).


A while back, my DSL was down for 5 days. I *do* have a secondary MX, which promptly tried to deliver 5000 delayed messages. My user delivery is a bit customized, using a couple of extra Perl scripts in addition to spamc/spamd calls. My CPU load was going through the roof as Qmail tried to deliver everything as quickly as possible. kswapd, in particular, was going nuts trying to handle the continual page-swaps.

I found that dropping my concurrencylocal to 5, or even to 3, helped things immeasurably. The load wavered between 3 and 5, and messages were delivered around one per second.

I realize your problem is already in the past, but in case you (or anyone else on this list) ever runs into the same problem again, I wanted to advise on this method of dealing with it.

                                                --Kai MacTane
----------------------------------------------------------------------
"Don't you know this flesh you are, wrapped up all inside your world
 The flood of all things sensory...
 Don't you know, you are flesh?"
                                                --The Last Dance,
                                                 "Flesh"



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to