[Rspamd-Users] Redis huge database

Alexander Moisseev moiseev at mezonplus.ru
Thu Nov 24 06:51:02 UTC 2022


On 23.11.2022 22:23, azurit at pobox.sk wrote:
> 
>>
>> Other data:
>>
>> 127.0.0.1:6379> debug object BAYES_HAM
>> Value at:0x7f836d192ab0 refcount:1 encoding:hashtable serializedlength:762292662 lru:8248068 lru_seconds_idle:43
>>
>> 127.0.0.1:6379> debug object BAYES_SPAM
>> Value at:0x7f838bae6450 refcount:1 encoding:hashtable serializedlength:138423713 lru:8248136 lru_seconds_idle:11
>>
>> Configuration in /etc/rspamd/local.d/statistic.conf:
>> classifier "bayes" {
>>     expire = 100d;
>>     new_schema = true;
>>     tokenizer {
>>         name = "osb";
>>     }
>>

> 
> Any hints? Looks like the problem is with BAYES_HAM tokens which seems to take 700+ MB.
> 

Look like leftovers of the old bayes schema.

I can't remember all of the key prefixes. I hope one day anyone writes a reference on key prefixes.



More information about the Users mailing list