[Rspamd-Users] Convert spamassassin rules

Vsevolod Stakhov vsevolod at rspamd.com
Mon Nov 5 14:29:25 UTC 2018


On 05/11/2018 14:25, Marc Risse wrote:
> Am 05.11.18 um 15:05 schrieb Vsevolod Stakhov:
>> On 05/11/2018 11:28, Marc Risse wrote:
>>> Hi list,
>>>
>>> I have a lot of SA rules and want to convert them to rspamd rules/maps.
>>> But it looks very complicated or I didn't get the idea behind multimaps.
>> Why not use SA rules as is? It is quite efficient and well tested.
>>
> 
> I already tested the spamassassin module but it consumes a lot of RAM.
> Without SA module, rspamd consumes ~1 GB. With SA module enabled it eats
>>10GB. Mem usage grows until cgroups limits are reached. My rules file
> seems to be too big, it has 26100 lines (1MB).

Even 1 GB of RES is way too much. You are doing something wrong. I see
here an SA file with around 15k lines and eats around 150Mb of RES
memory per scanner process. I doubt that multimap will help you in this
case: it stores everything in memory as well.



More information about the Users mailing list