spamd.service failed because a configured resource limit was exceeded

Operating System & Version
Centos 7
cPanel & WHM Version
Newest

A Hartonian

Active Member
May 22, 2018
44
10
8
Oman
cPanel Access Level
DataCenter Provider
Hello,

Spamd is restarting constantly but failing to recover.

The output of:
Code:
systemctl restart spamd
is:
Code:
spamd.service failed because a configured resource limit was exceeded
When I issue command:
Code:
systemctl status spamd.service
I get:
Code:
● spamd.service - Apache SpamAssassin™ deferral daemon
   Loaded: loaded (/etc/systemd/system/spamd.service; static; vendor preset: disabled)
   Active: failed (Result: resources) since Wed 2020-03-04 11:51:23 +0330; 2min 25s ago
  Process: 3950298 ExecStart=/usr/local/cpanel/scripts/restartsrv_spamd (code=exited, status=0/SUCCESS)
Main PID: 2189137 (code=exited, status=0/SUCCESS)

Mar 04 11:51:13 x3.example.com systemd[1]: Starting Apache SpamAssassin™ deferral daemon...
Mar 04 11:51:14 x3.example.com spamd[3950324]: config: no rules were found! Do you need to run 'sa-update'?
Mar 04 11:51:23 x3.example.com systemd[1]: Can't open PID file /var/run/spamd.pid (yet?) after start: No such file or directory
Mar 04 11:51:23 x3.example.com systemd[1]: Failed to start Apache SpamAssassin™ deferral daemon.
Mar 04 11:51:23 x3.example.com systemd[1]: Unit spamd.service entered failed state.
Mar 04 11:51:23 x3.example.com systemd[1]: spamd.service failed.
Note that both Enable Apache SpamAssassin™ spam filter and Enable Apache SpamAssassin™ Spam Box delivery for messages marked as spam (user configurable) are enabled in tweak setting. I also installed OSM from Configserver.com

I would appreciate your insight.

Thank you