On Wed, 27 Apr 2005 at 14:05:07 +0200, Arnaud Huret wrote: > > We are running a webmail service using ClamAV and get roughtly 30.000 valid > mails/day. > We run home-build SMTP servers calling clamd, emulating the client. > > The problem : > > After running +- 10 minutes, clamd.log reports a first message saying : > 'ERROR: ScanStream: accept timeout' quickly followed other ones. After 1 or > 2 minutes, we get another message : 'ERROR: accept() failed: Too many open > files' and, I guess, clamd does not respond any more. > Need to restart the daemon to restore the service. > [...]
Not the reason, just a circumstance, but... check what 'cat /proc/sys/fs/file-max ; cat /proc/sys/fs/file-nr' says. -- Tomasz Papszun SysAdm @ TP S.A. Lodz, Poland | And it's only tomek at lodz.tpsa.pl http://www.lodz.tpsa.pl/iso/ | ones and zeros. tomek at clamav.net http://www.ClamAV.net/ A GPL virus scanner _______________________________________________ http://lurker.clamav.net/list/clamav-users.html