Minor(?) problem with rspamd

Discussion in 'Installation/Configuration' started by teves, Sep 18, 2019.

  1. teves

    teves Member

    Hello,

    I have migrated our ISPConfig webserver from spamassassin to rspamd by this howto: https://www.howtoforge.com/replacing-amavisd-with-rspamd-in-ispconfig/

    Apart from minor issues it seems to work well, but I keep getting an error message in the errors list on the history tab of rspamd GUI:
    Can anyone please tell me what that means, and if I need to fix that (and, if so, how)?

    Thank you!
    Regards, Tom


    System is:
    - Debian GNU/Linux 9.9 (stretch)
    - ISPConfig 3.1.15
    - Dovecot 2.2.27
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Seems as if you either missed installing redis as described in the guide or redis has not been started.
     
  3. teves

    teves Member

    Would be a nice ans simple solution at least, but alas is not the case. ;-)
    I re-checked the howto steps; everything ok, redis and rspamd services running.

    Any other ideas?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Maybe you had setup redis before on that server and locked it down in a way that Rspamd can't access it anymore? Or you changed the Redis port?
     
  5. teves

    teves Member

    Hi,

    no I don't think so. Redis port is standard 6379.

    Menawhile I have tried a few things. This did not solve the problem, but maybe the following steps should be done as part od the installation of rspamd:

    I found that in the redis log there are some hints when you restart the redis-server service:
    I fixed the issues by following the suggestions in the log text above. For the first issue (TCP backlog) I used
    1. Code:
      echo 1024 > /proc/sys/net/core/somaxconn
    2. added
      Code:
      net.core.somaxconn=65535
      in the /etc/sysctl.conf file
    After that I restarted redis-server and all issues of the log were gone.

    But this did not change the behaviour of rspamd, I still get the same errors.

    After that I set the redis logging level to debug and searched the output for hints at the times when errors were reported in rspamd. Nothing.

    I will try now to debug the lua module in rspamd that produced the error. If I should find a solution I will post it here.

    Thanks for your help!
    Regards, Tom
     
    till likes this.
  6. elmacus

    elmacus Member HowtoForge Supporter

    Hi, sometimes i see this error too on Debian 9, it looks like redis is working and rspamd, have not had time to investigate this yet.
    Not yet seen on Debian 10, so could be that.
     

Share This Page