[EMAIL PROTECTED] wrote:
clamd 0.85.1 has been running pretty smoothly for a while, ever since install the day after it was released. the last few days though, i've been running into an odd problem -

...
anybody else experience this? thoughts?


I don't believe the problem is related to ClamAV (if you really are using clamd), but rather spamd eating your CPU when high number of emails is queued for scanning by qmail-scanner.

Try if this helps:
- Limit number of connections qmail-smtpd may accept (-c option, with
  your specs. set it to 50 or lower, check memory/cpu load)
- Ensure you've enough clamd threads
- Ensure that you limit number of spamd threads (and count how many are
  used - if to many unused lower the number)
- When under load, check that cpu usage is 100 % (if not, you're
  probably swapping memory - lower the number of qmail-smtpd
  connections)
- Ensure you've access to a fast DNS server (if spamd is doing RBL
  checks)
- Use badmailfrom/badmailto - it may help you filter unneeded smtp
  connections

(Optionally renice the qmail-send/qmail-remote user to ensure that email queued for remote delivery gets enough cpu)

Best regards,
Diego d'Ambra
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to