Hello all,

We've installed clamav / clamav-milter on a sendmail server with HIGH
trafic. It worked well most of the time, but on peak hours (more than 400
concurrent connections per server and 150K mail per hour) the clamav-milter
thorws these errors on the syslog and slows down the process:

May  7 09:27:41 rs25s8 clamav-milter[6926]: ClamAv: thread_create() failed:
11, try again
May  7 09:28:01 rs25s8 clamav-milter[6926]: ClamAv: thread_create() failed:
11, try again
May  7 09:29:58 rs25s8 clamav-milter[6926]: ClamAv: thread_create() failed:
11, try again
May  7 09:29:59 rs25s8 clamav-milter[6926]: ClamAv: thread_create() failed:
11, try again
May  7 09:30:37 rs25s8 clamav-milter[6926]: ClamAv: thread_create() failed:
11, try again

The CPU never went over 70% (1 Xeon with HT).
The RAM never went over 80% (1 Gb total + 1,5 Gb SWAP)
It just can create the thread!

This is always when it tries to create the 257th concurrent thread of
clamav-milter. When this happens you can see thru 'ps' near 256 threads of
clamav-milter (between 250 and 256, never more).
I'm guessing it is a limit on the kernel/libraries/implementation.

The system is a RedHat 7.3, kernel 2.4.20-19.7smp compiled by RedHat,
glibc-2.2.5-43.
We also tried on a Fedora Core 1, kernel 2.6.4 (downloaded and compiled),
glibc-2.3.2-101.1.

Any help would be appreciated,

Ing. Samuel Benzaquen
CANTV, Gerencia General de la Red
Gerencia de Operaciones Centralizadas de la Red
Gerencia de Soporte de Aplicaciones
Coordinaci�n de Servicios Operativos
NODO Chacao, Piso 1
Tel: (0212) 264-4568
[EMAIL PROTECTED]
[EMAIL PROTECTED]



-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to