Re: Tips on training bayes?

"Jared Hall via users" <[email protected]>
Newsgroups gmane.mail.spam.spamassassin.general
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.