ClamAV 0.90 (was Re: [Mimedefang] Mailing List still Active)
Martin Blapp
mb at imp.ch
Tue Feb 20 17:57:01 EST 2007
Hi,
>> I tried upgrading today and experienced a similar problem. Clamd was using
>> 90%
>> (and more) CPU and not answering queries which made me run out of slaves
>> etc.
This patch did fix it for me:
--- clamav-0.90/shared/misc.c Sun Feb 11 01:35:22 2007
+++ clamav-0.90/shared/misc.c Tue Feb 20 23:55:57 2007
@@ -332,9 +332,7 @@
dup2(i, 2);
}
- if(fork())
- exit(0);
-
+ daemon(0,0);
setsid();
#endif
}
Can you confirm this ?
Martin
More information about the MIMEDefang
mailing list