[Rspamd-Users] Redis huge database

azurit at pobox.sk azurit at pobox.sk
Thu Nov 24 08:48:59 UTC 2022


Citát Alexander Moisseev via Users <users at lists.rspamd.com>:

> 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.


Ok, how can i safely wipe-out whole BAYES_HAM?




More information about the Users mailing list