[Rspamd-Users] Neural bug after upgrade to 2.6
Christian Balzer
chibi at gol.com
Wed Oct 7 06:05:27 UTC 2020
This may be the issue, when restarting rspamd we see:
---
2020-10-07 14:54:49 #20084(normal) <5f3b50>; lua; neural.lua:295: created new ANN profile for default:default, data stored at prefix rn_default_default_tfqkaeai_0
2020-10-07 14:57:25 #23104(normal) <1fad12>; lua; neural.lua:295: created new ANN profile for default:default, data stored at prefix rn_default_default_rwb5bncr_0
---
Note the differing prefixes.
Since the upgrade the NEURAL_SPAM or HAM aren't triggered either.
Along those lines (and I googled and found other people asking, but no
answers), how does one go about feeding the neural ANN bits (or BAYES) into
the same dataset (prefix I presume) in redis for multiple nodes running
rspamd?
With busy MXs they learn quickly enough, but I want less active nodes to
benefit from the busy ones and ideally a more uniform behavior (in case a
spam run targets only one node at a time).
Regards,
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