Hi,
Earlier today I ran a scan on my Macbook Pro without problems, though I did abort the scan near the end as I needed to reboot. After rebooting (at Feb 19 15:23:15) I didn’t try to do a full scan again until some 3+ hours later, at which point initiating a (full system) scan failed, the error being:
Error 7005: Connection to antivirus engine has been lost
Looking at syslog I can see the problem, this matching pair of errors is repeated every second for a long time…
Feb 19 15:33:59 Anthony-Tooles-MacBook-Pro.local com.avast.daemon[139]: avldrDuplicateHandle(): Too many open files
Feb 19 15:33:59 Anthony-Tooles-MacBook-Pro.local com.avast.daemon[139]: accept(): Too many open files
Looks like this error was seen almost 15000 times, something is very unhappy.
Anthony-Tooles-MacBook-Pro:~ anthony$ less /tmp/avast.log | grep “Too many open files” | wc -l
14777
Anthony-Tooles-MacBook-Pro:~ anthony$ less /tmp/avast.log | grep “Too many open files” | head -1
Feb 19 15:33:59 Anthony-Tooles-MacBook-Pro.local com.avast.daemon[139]: avldrDuplicateHandle(): Too many open files
Anthony-Tooles-MacBook-Pro:~ anthony$ less /tmp/avast.log | grep “Too many open files” | tail -1
Feb 19 18:27:08 Anthony-Tooles-MacBook-Pro.local com.avast.daemon[139]: avldrDuplicateHandle(): Too many open files
Anthony-Tooles-MacBook-Pro:~ anthony$
I have since restarted the daemon process which has fixed things and I can now scan. However the root cause of the problem is unknown…
Two questions:
- I’ve seen other people report the 7005 error and the “Too many open files” errors, but often not together, and I’ve not seen any definite advice as to what the problem is.
Is this simply a new bug in the daemon causing a file descriptor leak?
- The avast GUI didn’t report any problems (until I tried to start a scan) which is a bit worrying! Would it have been doing on-access scanning successfully? Or is this a bug in the reporting?
I’ll try to attach a full logwith all references to com.avast from syslog - if the forum will let me…
Thanks,
Anthony