[Rspamd-Users] Neural Question
Vsevolod Stakhov
vsevolod at rspamd.com
Sun Jul 14 10:52:24 UTC 2024
On 13/07/2024 19:24, christian via Users wrote:
> Hello,
> after the neural "max_trains = 100" has been trained, a process "rspam:
> lua process: ANN train for SHORT/default" starts and uses a CPU core to
> 100% permanently.
>
>
> New emails are learned until 100 entries are stored:
>
> 2024-07-13 18:41:32 #729426(controller) <duy5w5>; neural;
> neural.lua:707: cannot learn ANN rn_SHORT_default_bioioq5b_0 now: there
> are not enough ham learn vectors (has {[spam] = 39, [ham] = 34} vectors;
> 100 required)
> 2024-07-13 18:41:32 #729426(controller) <duy5w5>; neural;
> neural.lua:707: cannot learn ANN rn_LONG_default_bioioq5b_0 now: there
> are not enough ham learn vectors (has {[spam] = 351, [ham] = 297}
> vectors; 1000 required)
>
>
> After this process has been started, no more SHORT:default entries
> appear in the log. No emails are tagged either. It seems as if the
> neural function freezes after reaching the 100 limit. It is the same
> with the LONG with a value of 100. After reaching this limit, a process
> starts which then constantly uses the CPU to its full capacity.
>
Yes, that's exactly how NN learning works - it is CPU expensive task.
More information about the Users
mailing list