Tom Bombadil wrote:
> I see old posts describing similar problem, but since I see no
> workaround, here it goes:
> 
> 
> Clamav seems to work alright when load is low, but when the load
> increases, it becomes unresponsive, and I get tons of these errors:
> 
> Tue May 15 04:35:40 2007 -> ERROR: ScanStream 30122: accept timeout.
> Tue May 15 04:35:41 2007 -> ERROR: ScanStream 30283: accept timeout.
> Tue May 15 04:35:43 2007 -> ERROR: ScanStream 30912: accept timeout.
> 
> The client is connecting over tcp exclusively on solaris 10.
> 
> Any ideas?

I don't have that problem with Solaris 10 but I don't scan streams. I 
scan files with clamd and my milter, J-Chkmail, uses Unix sockets to 
tell clamd where to find the files to scan (workdir is in /tmp so is 
rather quick). I also don't scan very large files - nothing over 100k, 
roughly. I also don't scan (or accept) most file formats declared unsafe 
by Microsoft. This way much of the work is done before Clamd ever sees 
the remaining attachments.

I'm also only handling about 1 million messages/week with three systems, 
so that may also be a factor if your volume is higher.

dp
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to