Hi--

On Aug 28, 2011, at 8:06 PM, Jason Haar wrote:
> WARNING: MaxThreads * MaxRecursion is too high: 1600, open file
> descriptor limit is: 1024
> 
> Why is that?

1024 is the default value of FD_SETSIZE, used by select().

On some platforms, you can override this macro and increase it
if the code does so before including <sys/types.h>.

> Is that just a hard-wired warning that doesn't matter, or
> is clamd still limited to 1024 file descriptors?

The latter.

> This is a proxy server using havp and it needs LOTS of file descriptors
> (whether it needs 1024 is debatable - but I'm just surprised to see
> the 32bit limit on a 64bit system)

It doesn't have anything to do with 32-bit or 64-bit system architecture.

Regards,
-- 
-Chuck

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

Reply via email to