Am 03.04.2013 09:45, schrieb David B Funk:
On Wed, 3 Apr 2013, Josef Karliak wrote:
Good morning,
we use SA on 8 CPUs HP DL380 G5. But sometimes spam daemon crash down :
Apr 2 18:01:33 server systemd[1]: spamd.service: main process exited,
code=exited, status=1
Apr 2 18:01:33 server systemd[1]: Unit spamd.service entered failed
state.
In this time there were a high load (some user sent quite a lot of
emails - about 800 ). In "/etc/sysconfig/spamd" I've startup arguments:
SPAMD_ARGS="-d -c -L --max-children=40 --min-children=15
--min-spare=5 -i 0.0.0.0 -A 192.168.67.1 -A 127.0.0.1"
Is that OK ? Or what do you recommend ?
Running on Opensuse 12.2 x64
Thanks and best regards
J.Karliak.
You have a possible maximum of 40 spamd processes. Make sure you have
enough
RAM to support them all. If you hit swap you're asking for trouble.
If limited RAM either add more or reduce that max-children parameter.
Better to have a work backlog than thrash swap.
Use 'sa-compile' to speed up processing and a local caching DNS server to
reduce the effect of network delays.
Have you added any custom rulesets? Some custom rulesets can add a
significant workload and may not be worth the extra overhead.
Are those your users sending lots of mails? Then what is the point in
submitting them to SpamAssassin? Bypassing SA might save your lots of
trouble (and ressources)
My 2 €-Cent
Dirk