On Fri, May 25, 2012 at 1:54 PM, Török Edwin <ed...@clamav.net> wrote:

> Try changing MaxThreads to balance memory usage and concurrency, and check
> Pool memory usage with clamdtop.
>

The box is virtually idle - no one is using it and maybe getting one email
an hour if that.

In clamdtop:

Under "MEM" it says 275M.

The Pool line is:

Pool: count    1 used  274M total  274M

MaxThreads was commented out, so it defaulted to 10.  I dropped it to 4 and
clamd is the same:

 5275 root      25   0  296m 271m  480 S  0.0 22.3   0:00.00 clamd

MEM still says 275M and the pool line is unchanged:

Pool: count    1 used  274M total  274M

Excluding blank lines and comments, my clamd.conf is pretty simple:

# grep -v "^#" clamd.conf | grep -v "^$"
LocalSocket /var/clamd
FixStaleSocket yes
MaxThreads 4
ScanMail yes
#

I checked and these are the databases:

--------------------------------------
ClamAV update process started at Fri May 25 07:13:26 2012
main.cvd is up to date (version: 54, sigs: 1044387, f-level: 60, builder:
sven)
daily.cld is up to date (version: 14962, sigs: 192477, f-level: 63,
builder: ccordes)
bytecode.cvd is up to date (version: 184, sigs: 40, f-level: 63, builder:
neo)
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to