Hello,
I put this post here, mail section, because although it is from spamassassin, it is the most suitable section that I see.
I have this problem, for a long time, spamassassin only lasts a few hours, the most I have managed to work has been 3 or 4 days in a row.
At the moment that, for whatever reason, it stops working (according to the line of the subject and log that I will put below) I can no longer solve it in any way, if I do a restart, it takes just a few minutes.
I have done many tests, even another vps that I have without use, I have transferred the entirety of this server, so they have exactly the same accounts, same mails ... everything is the same, even both vps are the same (same cores, same ram) except that one is intel, the other epyc (it is the one that fails).
I have even transferred this account to another vps that has 2 accounts and added the server epyc (which are 2 accounts) in total 4, and it does not fail either.
To understand us:
Server1: Epyc (two accounts, is the one that gives me the problems).
Server2: Intel: Not used, I have transferred the whole of server1 and it does not fail.
Server3: Intel: With use of 2 accounts, I have added by transfer the 2 accounts of server1, and this does not fail.
So that they always have the same mails, through rsync I transfer the mails from server1 to server2 and server3.
I have followed the spamassassin installation wiki, also in rebuild from cwp, with Amavis / Clamd and without it.
Always, sooner or later, it ends up failing.
The other difference between server1 and server2 and server3 is that server1 is with php-fpm, the other two are not.
As I comment, same cores, same ram, same s.o. all equal.
I doubt that the cause is because it is an Epyc instead of an Intel ...
This is the log (I put 3 logs).
● spamassassin.service - Spamassassin daemon
Loaded: loaded (/usr/lib/systemd/system/spamassassin.service; enabled; vendor preset: disabled)
Active: failed (Result: start-limit-hit) since Thu 2021-07-15 14:00:49 CEST; 6h ago
Process: 390132 ExecStart=/usr/bin/spamd $SPAMDOPTIONS (code=exited, status=0/SUCCESS)
Main PID: 390132 (code=exited, status=0/SUCCESS)
Jul 15 14:00:49 server.mydomain.com systemd[1]: spamassassin.service: Succeeded.
Jul 15 14:00:49 server.mydomain.com systemd[1]: spamassassin.service: Service RestartSec=100ms expired, scheduling restart.
Jul 15 14:00:49 server.mydomain.com systemd[1]: spamassassin.service: Scheduled restart job, restart counter is at 9444.
Jul 15 14:00:49 server.mydomain.com systemd[1]: Stopped Spamassassin daemon.
Jul 15 14:00:49 server.mydomain.com systemd[1]: spamassassin.service: Start request repeated too quickly.
Jul 15 14:00:49 server.mydomain.com systemd[1]: spamassassin.service: Failed with result 'start-limit-hit'.
Jul 15 14:00:49 server.mydomain.com systemd[1]: Failed to start Spamassassin daemon.
● spamassassin.service - Spamassassin daemon
Loaded: loaded (/usr/lib/systemd/system/spamassassin.service; enabled; vendor preset: disabled)
Active: failed (Result: start-limit-hit) since Sun 2021-08-01 09:02:50 CEST; 1min 33s ago
Process: 3493 ExecStart=/usr/bin/spamd $SPAMDOPTIONS (code=exited, status=0/SUCCESS)
Main PID: 3493 (code=exited, status=0/SUCCESS)
Aug 01 09:02:50 server.mydomain.com systemd[1]: spamassassin.service: Service RestartSec=100ms expired, scheduling restart.
Aug 01 09:02:50 server.mydomain.com systemd[1]: spamassassin.service: Scheduled restart job, restart counter is at 115.
Aug 01 09:02:50 server.mydomain.com systemd[1]: Stopped Spamassassin daemon.
Aug 01 09:02:50 server.mydomain.com systemd[1]: spamassassin.service: Start request repeated too quickly.
Aug 01 09:02:50 server.mydomain.com systemd[1]: spamassassin.service: Failed with result 'start-limit-hit'.
Aug 01 09:02:50 server.mydomain.com systemd[1]: Failed to start Spamassassin daemon.
● spamassassin.service - Spamassassin daemon
Loaded: loaded (/usr/lib/systemd/system/spamassassin.service; enabled; vendor preset: disabled)
Active: failed (Result: start-limit-hit) since Sun 2021-08-01 20:26:21 CEST; 2h 6min ago
Process: 57453 ExecStart=/usr/bin/spamd $SPAMDOPTIONS (code=exited, status=0/SUCCESS)
Main PID: 57453 (code=exited, status=0/SUCCESS)
Aug 01 20:26:21 server.mydomain.com systemd[1]: spamassassin.service: Service RestartSec=100ms expired, scheduling restart.
Aug 01 20:26:21 server.mydomain.com systemd[1]: spamassassin.service: Scheduled restart job, restart counter is at 5916.
Aug 01 20:26:21 server.mydomain.com systemd[1]: Stopped Spamassassin daemon.
Aug 01 20:26:21 server.mydomain.com systemd[1]: spamassassin.service: Start request repeated too quickly.
Aug 01 20:26:21 server.mydomain.com systemd[1]: spamassassin.service: Failed with result 'start-limit-hit'.
Aug 01 20:26:21 server.mydomain.com systemd[1]: Failed to start Spamassassin daemon.
If when this happens, I run this statement:
systemctl reset-failed spamassassin
Works again for a few hours, then crashes again.
Any ideas?
Thanks in advance.