On Thu, 15 Jan 2004 13:27:16 +0000 (GMT) Trog <[EMAIL PROTECTED]> wrote:
> Quoting Philipp Grosswiler <[EMAIL PROTECTED]>: > > > > > Timed out after 3 seconds! Thats not right. > > > > > > A quick look at the code, and it seems that the thread > > > timeout code isn't correct. > > > > > > It is also possible that there is a mutex locking bug in clamd. > > > > Could this be the cause of the problem? > > > > If you want to try the enclosed patch, it may improve things, or it > may not make any difference. > > Do: > > cd /clamav-0.65/clamd > patch -p0 < /path/to/clamd.timeout.patch > > and in clamav.conf set this: > > ThreadTimeout 0 Oh, you're right - there was no chance to disable the timeout (however clamav.conf states that 0 disables the limit). It's even better to use: if(timeout && ths[i].active) instead of if(timeout && (time(NULL) - ths[i].start > timeout)) I will fix it ASAP, thanks. Best regards, Tomasz Kojm -- oo ..... [EMAIL PROTECTED] www.ClamAV.net (\/)\......... http://www.clamav.net/gpg/tkojm.gpg \..........._ 0DCA5A08407D5288279DB43454822DC8985A444B //\ /\ Thu Jan 15 15:17:52 CET 2004
pgp00000.pgp
Description: PGP signature