Christian,
Could you please post your configuration + sieve script for reporting to rspamd?
I was thinking that hitting this limit is consequence of millions of hard links and not the reason!
But I will try that.
On 14-Jun-24 11:50 AM, Christian Kivalo via dovecot wrote:
What is the size of the system memory on your dovecot server? And what is the size of the dovecot.index.cache file when you see this error? You should be able to delete the index and recreate it using doveadm.
Servers are with enough RAM the smallest one is 64GB. The memory I'm referring is "vsz_limit=256 MB" and in my opinion it is not the issue but a consequence of the large amount of links in the mail and from there large index file and the result not enough memory to work with. Try increasing the vsz_limit to 512m or even 1g. This can very well be (part of) the problem. I have set default_vsz_limit = 1g and don't run into problems with imap_sieve calling the rspamd script to learn ham/spam.
-- Warm regards George A.