Many thanks Edwin for your response. Unfortunately my requirement is to stream the file content using java and the INSTREAM command. I am running multiple threads which are communicating with the daemon. Are you saying that it is only clamdscan that would use the multiple threads configured in the clamd.conf file?
-----Original Message----- From: clamav-users-boun...@lists.clamav.net [mailto:clamav-users-boun...@lists.clamav.net] On Behalf Of Török Edwin Sent: 13 December 2010 09:49 To: ClamAV users ML Subject: Re: [clamav-users] question about low CPU utilisation On Mon, 13 Dec 2010 09:31:17 +0000 "Macdonald, Lillian" <lillian.macdon...@logica.com> wrote: > I am testing clamd on unix (solaris actually) and my test involves > streaming several thousand files to the daemon via a number of threads > and collecting response information. > > I notice that, even when I increase the thread count in the > clamd.conf, the CPU utilization on my Solaris machine is low. This > suggests to me that the clam daemon is self throttling. Perhaps this > was done as a response to previous problems with high utilisation? Is > there any way that I can increase CPU utilisation? clamd uses 1 thread to scan 1 file. Try issuing multiple clamdscan commands in parallel, or if you want to do a filesystem scan use 'clamdscan -m /path/to/singledirectory'. And try setting MaxThreads to 2*number_cores+1. Best regards, --Edwin _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml Think green - keep it on the screen. This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml