René Berber writes: > > at which point the CPU falls back. the memory footprint of clamd > > also seems to increase: after about an hour (wall clock) top > > claims it's 95-100MB. CPU usage at the same time is 81 minutes -- > > about 1/3 of the total available. kinda sorta. > > Something is very wrong there, after 1 day running I have clamd > using only 32M of RAM (30M RSS). How many clamd threads do you > see?
i tried this today. (well, yesterday.) for the first hour or two, clamd sits at /3 or so while clamav-milter bounces around, typically in the 10-20 range. after this the NLWP on clamd starts to rise, frequently hitting 30+. PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP 16427 clamav 60M 59M cpu0 59 0 2:42:12 88% clamd/17 16430 clamav 3984K 2576K sleep 59 0 0:07:46 0.0% clamav-milter/26 NLWP on clamav-milter i could see as high as 40+, but neither approached 64 which is (i think) the nominal limits in clamd.conf and on the clamav-milter command line. if i shut down sendmail, within a few minutes the load is back down and clamd is back to /1: PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/LWPID 16427 clamav 59M 58M sleep 59 0 0:01:27 0.0% clamd/1 16430 clamav 3712K 2304K sleep 59 0 0:00:00 0.0% clamav-milter/3 16430 clamav 3712K 2304K sleep 59 0 0:00:07 0.0% clamav-milter/1 rp _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html