On 3/19/07, Dennis Peterson <[EMAIL PROTECTED]> wrote:
And I notice that the cpu usage approaches 90% for nearly 60 seconds -

Does it behave the same when you start clamd?

ramping up to max in about 10 seconds, holding for about 30 seconds,
then backing down. It's reading the databases, of course, but it seems
to not do large block reads, rather it grabs one record per fetch.
That's a lot of little reads, and IO Wait goes up quite a bit, too. I

Do you still get big IOwait times the second time you send the reload?
(the files should already be in cache, so IOwait should be smaller).

Clamd also needs to unpack the .cvd file to a temporary directory.
Try using a faster disk /tmp, or mount a tmpfs filesystem on it. Then see if
db reload is any faster.

Best regards,
Edwin
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to