Error: The service “spamd” appears to be down.

Kausik

Member
Aug 1, 2015
13
0
1
USA
cPanel Access Level
Root Administrator
Hi, I've been getting this error: The service “spamd” appears to be down. Does anyone know how I can find out what causes this error and how to fix it? Googling it refers me to other forum threads which don't have solutions.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,250
463
Hello :)

Could you let us know if you see any specific output to /var/log/exim_mainlog or /var/log/exim_paniclog at the times of the failures?

Thank you.
 

ebe

Member
Jul 6, 2006
17
1
153
2015-09-29 20:06:41 1Zgy8x-0004F7-UY spam acl condition: cannot parse spamd output
2015-09-29 22:09:55 1Zh0Hj-0008PZ-Kr malware acl condition: clamd: unable to connect to UNIX socket (/var/clamd): No such file or directory
2015-09-29 23:11:30 1Zh1FF-0003kh-L1 spam acl condition: cannot parse spamd output
After that received e-mail fro server with:

The service “spamd” appears to be down.
Service Check Method The system’s command to check or to restart this service failed.
hope not a major isue

Restarting was automatically recovered 6 minutes later, but still I will like to know the reason ...
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,250
463
Restarting was automatically recovered 6 minutes later, but still I will like to know the reason ...
It's possible the service reached a memory usage limitation, or the load on the server was high at the time of the failure. Please let us know if you encounter this issue again, or if it continues to happen.

Thank you.
 

melloman

Registered
Nov 12, 2015
4
0
1
Australia
cPanel Access Level
Root Administrator
I've been getting this The service “spamd” appears to be down. error a fair bit lately and have had it happen 3 times today with the spamd service recovering after 12 mins.

Excerpt from /var/log/exim_paniclog:

2015-11-13 07:33:44 1ZwyW4-0006Jo-7C spam acl condition: error reading from spamd socket: Connection timed out
2015-11-13 07:33:55 1ZwyYT-0006S1-LO spam acl condition: error reading from spamd socket: Connection reset by peer
2015-11-13 07:33:55 1ZwyYv-0006SP-3C spam acl condition: error reading from spamd socket: Connection reset by peer
2015-11-13 08:19:03 1ZwzEH-0008JD-PP spam acl condition: cannot parse spamd output
2015-11-13 14:18:30 1Zx4pm-0008RK-E0 spam acl condition: error reading from spamd socket: Connection timed out
2015-11-13 14:18:59 1Zx4qF-00007z-1I spam acl condition: error reading from spamd socket: Connection timed out
2015-11-13 14:20:16 1Zx4s1-0000A9-Qz spam acl condition: error reading from spamd socket: Connection reset by peer
2015-11-13 14:20:16 1Zx4uH-0000D4-KJ spam acl condition: error reading from spamd socket: Connection reset by peer

The times that the spamd service failed were:

7:34am
8:19am
2:20pm

It seems to take exactly 12 minutes to restore the service each time automatically.

Anyone know why this might be happening?