[Pkg-clamav-commits] [SCM] Debian repository for ClamAV branch, debian/unstable, updated. debian/0.95+dfsg-1-6156-g094ec9b
Török Edvin
edwin at clamav.net
Sun Apr 4 01:09:38 UTC 2010
The following commit has been merged in the debian/unstable branch:
commit dbc4970e0089d06694423debfd306ff924fe295d
Author: Török Edvin <edwin at clamav.net>
Date: Tue Nov 24 10:31:06 2009 +0200
Set limit to 255 so that warning is shown if maxthreads*maxrec would exceed it.
diff --git a/clamd/server-th.c b/clamd/server-th.c
index 5ccc6a7..34febdf 100644
--- a/clamd/server-th.c
+++ b/clamd/server-th.c
@@ -948,6 +948,7 @@ int recvloop_th(int *socketds, unsigned nsockets, struct cl_engine *engine, unsi
}
#elif !defined(_LP64)
if (rlim.rlim_cur > 255) {
+ rlim.rlim_cur = 255;
logg("^Solaris only supports 256 open files for 32-bit processes, you need at least Solaris 10u4, or compile as 64-bit to support more!\n");
}
#endif
--
Debian repository for ClamAV
More information about the Pkg-clamav-commits
mailing list