[Rspamd-Users] Neural question

christian usenet at schani.com
Wed Aug 14 19:54:57 UTC 2024


Hello,

What is going wrong if the neural module only outputs the error

invalid bulk length


History:
14.8.2024, 21:22:27 controller 786005 lua tybtry cannot save ANN 
default:default to redis key rn_default_default_d6q14mtf_0: ERR Protocol 
error: invalid bulk length


log:
2024-08-14 21:39:09 #786005(controller) <tybtry>; neural; 
neural.lua:702: can start ANN rn_default_default_d6q14mtf_0 learn as it 
has {[spam] = 146, [ham] = 201} learn vectors; 200 required, after 
checking ham vectors

2024-08-14 21:37:31 #785430(normal) <tybtry>; neural; neural.lua:787: 
try_load_ann: process element default:default
2024-08-14 21:37:31 #785427(normal) <tybtry>; neural; neural.lua:604: 
ann default:default is not changed, our version = 0, remote version = 0


I have now set up a minimal configuration, but every time max_trains = 
200 is reached, the error message appears. invalid bulk length
After that, nothing happens except that the error message keeps coming up.
Apparently the result of the learning cannot be written to redis.

All other things from Rspamd (bayes, history, reputation ...) work and 
are written to redis.

I have already tried all neural configurations but keep getting stuck at 
the same point that when max_trains is reached, nothing can be written: 
invalid bulk length

What is going wrong?
Thanks for the help

Christian



*** Section neural ***
train {
     max_usages = 20;
     learning_rate = 0.010000;
     max_iterations = 20;
     max_trains = 200;
}
servers = "localhost";
enabled = true;

*** End of section neural ***



More information about the Users mailing list