Loading...

clamav-users@lists.clamav.net

[Prev] Thread [Next]  |  [Prev] Date [Next]

Re: [clamav-users] Multiple clamd daemons Török Edwin Fri Feb 10 14:00:51 2012

On 02/10/2012 10:53 PM, Chuck Swiger wrote:
> On Feb 10, 2012, at 12:19 PM, Reynolds, David C. wrote:
>> I am (will be) running on a relatively large SGI Origin with a couple of 
>> hundred processors available. Is there an easy configuration setting to 
>> enable multiple clamd daemons to support multiple clamdscan clients in 
>> multiscan mode?
> 
> Sure, clamd is threaded and likely has a default value of "MaxThreads 10"-- 
> check clamd.conf.
> 
>> Each of the clamdscans are processing a particular set of subdirectories.  
>> Minimal scan time is critical for this operation so that the more processors 
>> that can be applied to the scan operation is important.
>>
>> Is there a practical limit to the number clamd threads that can be supported 
>> by one daemon?

You should probably increase your ulimit -n too, the number of open files, to 
something around 30000 if you have 500 threads.

--Edwin
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml