You are not logged in.

#1 2010-06-26 19:48:23

poorguy
Member
Registered: 2010-01-24
Posts: 26

clamd memory usage

Hello,

I'm running postfix+clamsmtp+clamd on my server. Everything is OK except clamd's memory usage.

When i start clamd, it starts by using 131 MB of RAM. 

Here's my conf: (used sed -e 's/#.*//' -e 's/[ ^I]*$//' -e '/^$/ d' to remove comments)

LogFile /var/log/clamav/clamd.log
LogTime yes
PidFile /var/run/clamav/clamd.pid
TemporaryDirectory /tmp
LocalSocket /var/lib/clamav/clamd.sock
MaxThreads 5
User clamav

Any suggestions?

Offline

#2 2010-06-26 20:39:24

Sin.citadel
Member
Registered: 2008-01-22
Posts: 267

Re: clamd memory usage

you can try setting a lower amount of threads to see if it helps.

Offline

#3 2010-07-04 22:40:17

poorguy
Member
Registered: 2010-01-24
Posts: 26

Re: clamd memory usage

It doesnt help sad

Offline

#4 2010-07-05 17:08:18

Sin.citadel
Member
Registered: 2008-01-22
Posts: 267

Re: clamd memory usage

it could be that clamd is loading all virus db's in memory, you can check the man pages for clamd.conf to see if there is some specific setting that throttles memory usage, are you experiencing slow program starts because of the memory usage, whats your max ram?

Offline

Board footer

Powered by FluxBB