[Rspamd-Users] Neural bug after upgrade to 2.6
Christian Balzer
chibi at gol.com
Wed Oct 7 09:10:57 UTC 2020
The train limits are also being ignored in local.d/neural.conf, the redis
definitions not though:
---
servers = "172.16.50.81";
train {
max_train = 3k; # Number of trains per epoch
max_usages = 60; # Number of learn iterations while ANN data is valid
}
---
log:
---
2020-10-07 18:04:53 #27008(normal) <935d89>; lua; neural.lua:414: skip ham sample to keep spam/ham balance; too many ham samples: 1001
---
1000 being the default in the lua script.
this worked before of course:
---
2020-10-06 06:25:31 #22035(normal) <e4c445>; lua; neural.lua:478: cannot learn ham ANN default:default; redis_key: rn_default_default_qeipi9xa_851: too many ham samples (3001 vectors stored)
---
Christian
On Wed, 7 Oct 2020 09:08:29 +0900 Christian Balzer wrote:
> Hello,
>
> Just for the record, I can confirm this bug.
>
> Christian
>
> On Tue, 6 Oct 2020 13:55:58 -0300 Fabio De Martin wrote:
>
> > Tim,
> >
> > Yes, every time on restart and without adding new rules.
> >
> > Its happening after upgrade to 2.6. It works fine on 2.5 with same
> > configuration.
> >
> >
> > ---
> > ::: Fabio De Martin
> > ::: +55 11 98515-1629
> > ::: skype:demartin
> >
> > On 06/10/20 13:42, Tim Harman via Users wrote:
> > > On 07/10/2020 12:15 am, Fabio De Martin wrote:
> > >> Hi,
> > >>
> > >> After upgrade to 2.6 (2020-09-30) all the NEURAL data are being lost
> > >> after restart/reload.
> > >>
> > >> Has anyone else noticed this behavior?
> > >>
> > >> Regards!
> > >
> > > Quite often when things around neural change, the old database becomes
> > > out of date and you have to re-learn enough emails for it to work. In
> > > older rspamd versions, if you added or removed any rules then it would
> > > (by design) invalidate the neural database.
> > >
> > > You mention restart - do you mean each and every time you restart?
> > > Are you adding/removing rules when you restart?
> > >
> > > Tim
> > --
> > Users mailing list
> > Users at lists.rspamd.com
> > https://lists.rspamd.com/mailman/listinfo/users
>
>
> --
> Christian Balzer Network/Systems Engineer
> chibi at gol.com Rakuten Mobile Inc.
> --
> Users mailing list
> Users at lists.rspamd.com
> https://lists.rspamd.com/mailman/listinfo/users
--
Christian Balzer Network/Systems Engineer
chibi at gol.com Rakuten Mobile Inc.
More information about the Users
mailing list