On Tue, 2 Dec 2003, Ken McKittrick wrote:

> Hello
>
> I have Postfix 2.0.16, Amavisd-new, SpamAssassin, and Clamav 0.65
> running on a Enterprise 4500 with 8 CPU's. It's configured to use 16
> Amavisd processess and the Clamav.conf has MaxThreads set to 40. I only
> see 6 clamd threads. I don't think that Clamd is keeping up with
> Amavisd.

>From looking at the source, clamd appears to allocate a thread when a
request comes in... and then the thread exits.  It doesn't pre-allocate
MaxThreads threads and have them sit idle waiting for work...

Hope this helps!

        Ed

> Any ideas on how to get more Clamd threads?
>
>   25825 vscan      28M   23M run     20    0   0:00.10 3.6% amavisd/1
>   25957 vscan      28M   21M run     20    0   0:00.08 3.5% amavisd/1
>   25978 vscan      28M   21M run     20    0   0:00.07 3.0% amavisd/1
>   26030 vscan      28M   20M cpu8    30    0   0:00.06 2.8% amavisd/1
>   26022 vscan      28M   21M run     20    0   0:00.05 2.5% amavisd/1
>   26094 vscan      27M   20M run     20    0   0:00.04 2.3% amavisd/1
>   25984 vscan      27M   20M run     20    0   0:00.05 2.3% amavisd/1
>   26131 vscan      27M   20M sleep   20    0   0:00.04 2.0% amavisd/1
>   26182 vscan      27M   20M run     20    0   0:00.02 1.5% amavisd/1
>   12752 vscan      10M 9416K sleep   58    0   0:00.09 1.5% clamd/6
>   26247 vscan      27M   20M cpu13   20    0   0:00.02 1.2% amavisd/1
>   26252 vscan      26M   19M run     30    0   0:00.01 1.0% amavisd/1
>   26265 vscan      27M   19M cpu1    30    0   0:00.01 0.9% amavisd/1
>   26267 vscan      26M   19M run     20    0   0:00.01 0.8% amavisd/1
>
> Thanks
> Ken McKittrick
> USADatanet
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it
> help you create better code?  SHARE THE LOVE, and help us help
> YOU!  Click Here: http://sourceforge.net/donate/
> _______________________________________________
> Clamav-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/clamav-users
>

Ed Phillips <[EMAIL PROTECTED]> University of Delaware (302) 831-6082
Systems Programmer III, Network and Systems Services


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to