Closed ksylvan closed 8 months ago
After the latest reboot (upon upgrading my base OS to Debian 12 "bookworm"), here is what rspamd status looks like. I am thrilled because this dashboard wasn't even loading recently, and now it comes up fast.
I merged this. Without the CLAMD_MEMORY_FIX
environment variable, this is a no-op for existing installs, and I've tested this over the last few days on two different production domains I have running the mailserver
stack.
Description
Adds a new variable CLAMD_MEMORY_FIX to use the new ClamAV
ConcurrentDatabaseReload
option.This reduces memory in the mailserver container on startup, with the downside that clamd will block any new scans until reload is complete.
Fixes #63
Type of change
Status
How has this been tested ?
Tested this on my production server.
So far, it seems to be working. The load spiked, but not as much as before, then settled back down.
Will keep testing and update the PR.