[Maia-users] gocr & process-quarant take a lot of cpu

Robert LeBlanc rjl at renaissoft.com
Tue Sep 26 23:16:54 PDT 2006


Chris Tatro wrote:
> What can I do to reduce the load on the system? Gocr and process-quarant
> are taking up a lot of cpu amavisd is contending with those two
> processes then mail gets backed up in the queue = people are complaining
> that email is taking too long to get to them.
> How often should I have process-quarant run?

Schedule the process-quarantine script to run once per hour.  It may
take more than an hour to finish at times, but that's fine--it won't
start duplicate processes if one is already running, and it will check
for any remaining work to be done before it terminates, so items that
get confirmed while process-quarantine is running will get handled
before it exits.

As for the system load issue, that's a much bigger one to address, but
as a starting point, try to determine where the bottlenecks are.  Some
recent posts here explained how to do that by setting $log_level to 1 or
higher in amavisd.conf (so that you can see the timing breakdown at the
end of every processed mail item), and by using "spamassassin -D -t <
email.txt" to look for bottlenecks within SpamAssassin.  Before you go
disabling tests blindly in the hope of lessening your load, check these
things out.  You may also want to look at whether you're running the
optimal number of amavisd-maia children to handle your load on your
hardware.

-- 
Robert LeBlanc <rjl at renaissoft.com>
Renaissoft, Inc.
Maia Mailguard <http://www.maiamailguard.com/>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://www.renaissoft.com/pipermail/maia-users/attachments/20060926/413794dd/attachment.bin 


More information about the Maia-users mailing list