it's a small hosted VM running fine for years.
On 11.02.2018 19:35, Reindl Harald wrote:
Am 11.02.2018 um 19:09 schrieb Hendrik Haddorp:
I have a maildir with about 20000 mails. In the past this does not
seem to have been a problem. But since a few weeks my sa-learn
process dies with an OOM now. My server has only 1GB of memory with
another GB for swap. sa-learn is eating up pretty much the complete
memory for the run and is only able to finish when I stop everything
else. Why is sa-learn using more and more memory even when it learned
all those messages already in the past? Is there a way to limit the
memory usage except from making the set of messages smaller?
from where did you get a machine with 1 GB in the last decade?
below 1.5 GB i don't even deploy a golden-master VM
My problem sounds somewhat like
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=5141
probably - but my coropus is 1500000 mails large, two bayes
(sa-builtin and bogofilter) with 425 MB living in tmpfs and so in
memory rsyned at boot/shutdown to a persistent location
clamav needs some hundret MB
dns-cache needs some memory
sorry, but 1 GB is not suitebale in 2018