On 9/18/2024 10:19 AM, natan wrote:
Hi
I was very disappointed with spamassassin 4.x because it started to grow /var/lib/amavis/tmp/

With SA 3.4.X - on average 100MB and it deletes on the fly
With SA 4.X - on average 2-6GB and I had to do a quick fix:
59 23 * * * root find /var/lib/amavis/tmp/ -mtime +0 -delete;


The tmp folders that are created by each Amavis child process hang
around until $max_requests is hit.  The default is 20.

If you have SSD drives where R/W times are negligible, you *might*
want to set $max_requests = 1;  Now each child will clean-up it's
tmp folder after every message.

On Deb-based distros, you can add this in /etc/amavis/conf.d/50-user
under the $max_servers parameter.

-- Jared Hall






Reply via email to