I do not know if it can help you. I switched from apache handler to fast cgi and the problem is solved and with better performance.
Security and privacy
Getting ClamAV Daemon working in Ubuntu 18.04
This discussion has been locked so you can no longer reply to it.