Dear list...

(See what happens when I get a question answered?  I come up with
more...)

Is there (I hope!!!) a way to tell spamd not to accept connections if
the system load is at or above a certain threshold?  (i.e. if the system
load is currently 30, don't spawn anymore spamd processes)?

I have a recurring problem where if a server craps out ('cause it's old
and tired, but the owner won't replace/ upgrade it) and I restart it,
the mail out there that queued up while it was down immediately starts
flowing in and crushes the server (and, yes, the server is definitely
underpowered for the volume of mail it's trying to handle - it's a P3
733/256Mb processing upwards of 15-25k messages per day with 1000+ local
mailboxes, often in waves where several hundred users will
simultaneously receive the same message).  I have Sendmail configured to
refuse incoming connections when the load hits 10, but that doesn't stop
the messages that pushed the load up that high from being fed to SA, and
subsequently sending the load to 115+ (!) and going until the server
runs out of swap space and dies (or effectively dies, as all it's
services are no longer able to respond, including console) or I manage
to race to my computer and pull a "The Net" sequel while I madly try to
type faster than the load spools up.

I may be barking up the wrong tree... this may be a Sendmail question
(like, dear sendmail: please don't keep trying to deliver queued mail to
local mailboxes when the load is 100+ if you want to live, duh!).  In
which case, sorry for posting to the wrong place!

Thanks (again) in advance... hope the rest of y'all aren't working on a
Sunday night (arrgh).

Rubin

-- 
Rubin Bennett <[EMAIL PROTECTED]>
RB Technologies

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to