On 2008-12-18 17:38, Matthew Dickinson wrote: > I'm seeing "higher than I'd expect" memory usage on RHEL5 x86_64 with v > 0.94.2. The machine is a lightly loaded (~300msg/day) mailserver with 1GB of > ram. > > From top: > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND > 23481 clamav 20 0 394m 292m 1216 S 0 27.8 0:08.26 clamd
Can you correlate memory usage with what it was scanning? Like set LogVerbose in clamd.conf, and log output from ps every minute. Then see where clamd memory usage rises. It can rise during a DB reload, but shouldn't rise more than twice original mem usage. Best regards, --Edwin _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml