Jakub Suchy wrote:
[snip]

Mar 13 06:41:54 service amavis[12311]: (12311-03) Clam Antivirus-clamd: Can't
connect to UNIX socket /var/run/clamav/clamd.ctl: Connection refused, retrying
(2)
"connection refused", but when i check if clamav is running (ps ax | grep
clam), it is...

It might have reached the max number of connections (default is 15 per thread), see and maybe change clamd.conf:


   MaxConnectionQueueLength 30
   MaxThreads 20

[snip]
i didn't, i will try tomorrow (now it's too late, there are few (500) mails in
a minute, i am waiting for an hour and still working ( -> can it be some "load"
problem? too much sockets opened? i think standard unix 1024 file descriptors
should be enough...)

Yes, I don't think file descriptors is a problem. But you may be right about the load.


I'm not sure, does your clamd use threads? If not, then one thread queues just 15 messages and that may be the cause.

If clamd in debug mode really doesn't say anything that would be strange. You probably mean you didn't see anything out of the ordinary in the output.


last message in debug log is "Self checking every 3600 seconds.", then
sometimes "...virus FOUND

That's normal log output, not debug output. -- René Berber

_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to