Dylan wrote:
> I have a postfix MTA (on RH 9) using amavisd that has been working fine
> up until the end of last week when we started getting complaints of mail
> not being delivered for 30 minute or longer after being sent. My postfix
> mailq grew to over a thousand. To start the troubleshooting process I
> removed the filter statement in the main.cf file for postfix and
> immediately my queue flushed out. I put the filter statement back in and
> just commented out the portion of the amavisd.conf file for clamd and
> I'm still getting very fast processing of all messages through
> postfix/amavisd.

Hi Dylan,

First, a small overhead is something you should expect, due to the time
needed to scan the messages.
Of course "small" is very dependent upon your hardware specs, your
configuration, the size and type of the messages, etc.
So it could be that your current hardware/sowtware setup is not powerful
enough to cope with the messages flow.
I doubt that's your problem, but, just in case, how's the load on the box?

Secondly, it could be that you've enabled some potentially time
consuming config option like MailFollowURLs or one of the archive
related option... I'd start from there...

Another option is that some of the messages are just HUGE and clamd
takes a lot to process them.

Finally, it's (maybe?) possible that some message is causing clamd to
infloop which prevents your queue from flushing again.
If that's the case please file a bug report to bugs_at_clamav.net
(remember to encrypt the message with gpg or zip).


So, well... "Clamd is slow" doesn't really give out enough clues to help
you. Please investigate the problem a bit further and see if you can
come up with something.


-aCaB
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to