Hi,
Thanks for your kind message.
Indeed it looks as an issue related to RAM. Reading Freshclam logs all
issues came exactly at that moment when a new DB started to be processed.
Very well explained.
*** I sent this message days ago, but I used the wrong account and it
was returned recently, sorry if I was not quicker with the feedback.
Best Regards,
Jesús.
El 03/06/2020 a las 10:43, Stefan Bauer escribió:
Check 'dmesg' and look for OOM-killer. Clamav needs a descend amount of RAM
- especially when using 3rd-party signatures. As there are random updates
over the day, the reloads could lead to your noticed behavior.
Am Mi., 3. Juni 2020 um 10:00 Uhr schrieb Jesús Arnáiz via clamav-users <
clamav-users@lists.clamav.net>:
Hi!
I have an Ubuntu server as email server. I use there, MailInABox:
https://mailinabox.email/
I installed on my own (since it is not part of MailInABox) clamav and I
configured it to be used with clamsmtp on postfix, so email is scanned
for virus.
It normally works fine, but, apparently it is crashing everyday more
than once, meaning a manual restart is needed once or twice per day.
I don't see anything relevant on the logs, more than error of clamsmtp
complaining it "can't connect to clamd" (expected issue if the service
is stopped as is the case):
---
Jun 3 08:42:54 mailbox clamsmtpd: 10126F: CLAMAV: couldn't connect to:
/var/run/clamav/clamd.ctl: Connection refused
Jun 3 08:43:32 mailbox clamsmtpd: 101274: CLAMAV: couldn't connect to:
/var/run/clamav/clamd.ctl: Connection refused
----
A manual restart makes the error disappear and it continue working for a
while.
For the moment as a temporal workaround, I set some crontab to check the
"clamd" process and restart it if it is not running. But I would like to
find the issue and fix it if possible.
Any ideas?
My system is:
----
Linux mailbox 5.3.18-3-pve #1 SMP PVE 5.3.18-3 (Tue, 17 Mar 2020
16:33:19 +0100) x86_64 x86_64 x86_64 GNU/Linux
Ubuntu 18.04.4 LTS
ClamAV Version:
clamscan -V
ClamAV 0.102.3/25831/Tue Jun 2 14:41:03 2020
CalmSMTPD:
clamsmtpd (version 1.10)
(config: /etc/clamsmtpd.conf)
Thanks!,
Jesús.
--
El software de antivirus Avast ha analizado este correo electrónico en
busca de virus.
https://www.avast.com/antivirus
_______________________________________________
clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/contact.html#ml
--
El software de antivirus Avast ha analizado este correo electrónico en busca de
virus.
https://www.avast.com/antivirus
_______________________________________________
clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/contact.html#ml