Odhiambo Washington wrote:
> I am running ClamAv for ages now. The behaviour is the same always.
> 
>   PID USERNAME      PRI NICE  SIZE    RES STATE  C   TIME   WCPU    CPU COMMAND
>   29817 exim            2   0 11224K  7632K poll   0   4:59 27.64% 27.64% cla
md  
> 
> clamd is always using over 20% CPU.
> 
> OS    : FreeBSD (SMP, 3 CPU, 1G RAM)
> ClamAv        : ClamAV devel-20040921/507/Mon Sep 27 13:53:21 2004
> (yes, I do run CVS most of the time)
> 
> The server is a busy one though, but I don't think that justifies the
> end.

If you're running > 5.2-CURRENT, you can use 'H' in top to display
each process' threads.  You might find that there is just a lot of
mail being scanned (a lot of threads).  I'm pretty sure that pthreads
are now KSE so you should see threads using all you cpus on a busy
system (mine's pretty idle):

  PID USERNAME  PRI NICE   SIZE    RES STATE  C   TIME   WCPU    CPU COMMAND
  555 clamav     20    0 28044K 26032K kserel 1   0:10  2.05%  2.05% clamd
  555 clamav     20    0 28044K 26032K kserel 0   0:10  0.00%  0.00% clamd
  555 clamav     20    0 28044K 26032K ksesig 0   0:10  0.00%  0.00% clamd
  555 clamav      4    0 28044K 26032K accept 1   0:10  0.00%  0.00% clamd
  565 clamav     20    0  2060K   552K pause  0   0:00  0.00%  0.00% freshclam

Ian

--
Ian Freislich


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to