clamav-users August 2011 archive
Main Archive Page > Month Archives  > clamav-users archives
clamav-users: [clamav-users] file descriptor limit still 1024 on

[clamav-users] file descriptor limit still 1024 on large 64bit system?

From: Jason Haar <Jason_Haar_at_nospam>
Date: Mon Aug 29 2011 - 03:06:39 GMT

Hi there

I've got a new 16-core CentOS-6 (64bit) with gobs of RAM, running

I increased "nofiles" to 8192 in /etc/security/limits.conf, and running
"ulimit -n" from an unpriviledged account returns 8192

However, when clamd starts, it reports

WARNING: MaxThreads * MaxRecursion is too high: 1600, open file
descriptor limit is: 1024

Why is that? Is that just a hard-wired warning that doesn't matter, or
is clamd still limited to 1024 file descriptors? 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


-- Cheers Jason Haar Information Security Manager, Trimble Navigation Ltd. Phone: +1 408 481 8171 PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1 _______________________________________________ Help us build a comprehensive ClamAV guide: visit