Hi,

Running the following on a Debian Sarge machine:

clamav-milter  0.80-7
clamav-daemon  0.80-7
kernel-image   2.6.8-10
libc6          2.3.2.ds1-18

Averaging about 200 incoming SMTP connections per minute.  Also
running SpamAssassin and spamass-milter.  No local delivery (except to
the spam control mailbox) -- this is a relay mail server.

The clamav milter was refusing connections after about 1/2 hour or so
and had to be restarted each time.  In desperation I removed the
--max-children option from clamav-milter options and increased
MaxThreads in clamd.conf from 12 to 512.  Now the milter is still
failing after a while, but more like 3 hours between failures instead
of the earlier 1/2 hour.

With debugging enabled I see the following:

1. n_children keeps increasing until it hits (512+n) where n < 10 and
changing, then the milter starts waiting for connections to close.  Is
n_children supposed to keep increasing?

2. After a while in this state, the milter dies with the following
error message:

clamav-milter: ../nptl/pthread_mutex_lock.c:78: __pthread_mutex_cond_lock: 
Assertion `mutex->__data.__owner == 0' failed.

I realise that this may not be a milter problem, but has anyone seen
it earlier and knows a way of handling it?

Regards,

-- Raju
-- 
Raj Mathur                [EMAIL PROTECTED]      http://kandalaya.org/
       GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
                      It is the mind that moves
_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users

Reply via email to