Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Rspamd unexpectedly stops working #1869
Comments
fenice2
commented
Oct 19, 2017
|
This sounds like it might be a problem with the MTA not rspamd. Can you check if the milter protocol is set correctly to "6"? You can check the protocol version with "postconf milter_protocol". Which MTA are you using? |
gibzer
commented
Oct 20, 2017
|
I'm not sure that problem is because of MTA. I use Postfix. When this happens, if I restart Rspamd - everything starts to work. So no need to restart MTA.
|
fenice2
commented
Oct 21, 2017
|
I see you have multiple milters in there, what's the second one for? Is that the one that might be failing when mail flow stops? I believe the "milter_default_action" applies to both milters unless you specific different actions for each milter. Have you tried setting "milter_default_action" to accept to see if that allows mail to flow? |
gibzer
commented
Oct 23, 2017
|
The second is AVG antivirus milter. Log shows that this is exactly Rspamd. And after Rspamd restart error is gone. I tried |
gibzer
commented
Nov 16, 2017
|
Problem still persists. Got 2 crashes within 3 days. Rspamd logs are clear, all processes are working. I have to use Monit to check Postfix logs for Rspamd errors and restart it... |
jrampin
commented
Nov 16, 2017
|
@gibzer are you still getting this issue? Have you found a workaround? I've got this once two weeks ago, and once 2 days ago... |
gibzer
commented
Nov 17, 2017
|
Yes, I still have it. The only one workaround is to use Monit to restart Rspamd when Postfix says in log that it can't connect to Rspamd.
|
jrampin
commented
Nov 26, 2017
•
|
@gibzer I've done 2 things:
/etc/redis/redis.conf maxmemory 1024mb It's been a while since I don't get that error anymore. Both servers reach up to 10GB of used memory, and then it releases memory after a while. Hopefully it can help you! :) |
gibzer commentedOct 18, 2017
Classification (Please choose one option):
Reproducibility (Please choose one option):
Rspamd version:
1.6.4
Operation system, CPU, memory and environment:
Ubuntu 16.04
Description (Please provide a descriptive summary of the issue):
Rspamd sometimes unexpectedly stops working. Though all Rspamd processes work (main, rspamd_proxy, controller, normal, log_helper, hs_helper), no one is down. Rspamd log is clean like just no mails is coming. In Postfix log I have this:
This could happen once a month or twice a week, so I can't reveal the trends.
Compile errors (if any):
Steps to reproduce:
Expected results:
Actual results:
Debugging information (see details here):
Configuration:
Additional information: