"Connection to Spamassassin was lost" errors
Posted: 2017-05-03 21:24
I come across to unscanned messages (spams), not frequently but 1-3 times a day. otherwise SA is working perfectly.
recent occurrence:
HMS tells:
and spamd tells (HMS is ~1 sec behind, so this should be the concurrent moment and some suspicious entries 10 secs before) :
HMS and SA/ClamAV are on seperate VMs in same Hyper-V box. so, any physical connection failure is out of possibility.
debugging is a pain. this is a busy production server.
thanks for any advise (tweak suggestions?) without debugging option first - if possible.
recent occurrence:
HMS tells:
Code: Select all
"ERROR" 1800 "2017-05-03 15:26:41.494" "Severity: 3 (Medium), Code: HM5157, Source: SpamAssassinClient::OnReadError, Description: There was a communication error with SpamAssassin. hMailServer tried to retrieve data from SpamAssassin but the connection to SpamAssassin was lost. The WinSock error code is 2. Enable debug logging to retrieve more information regarding this problem. The problem could be that SpamAssassin is malfunctioning."
"ERROR" 2692 "2017-05-03 15:26:41.494" "Severity: 2 (High), Code: HM5508, Source: SpamAssassinTestConnect::TestConnect, Description: The SpamAssassin tests did not complete. Please confirm that the configuration (host name and port) is valid and that SpamAssassin is running."
Code: Select all
Wed May 3 15:26:31 2017 [3832] info: prefork: child states: III
Wed May 3 15:26:31 2017 [3832] info: prefork: adjust: 3 idle children more than 2 maximum idle children. Decreasing spamd children: -1496 killed.
Wed May 3 15:26:31 2017 [-1496] info: spamd: child got SIGINT, exiting
Wed May 3 15:26:33 2017 [3832] info: spamd: handled cleanup of child pid [-1496]: exit 0
(...some usual connection and processing entries..)
Wed May 3 15:26:42 2017 [3832] info: prefork: child states: BB
Wed May 3 15:26:42 2017 [3832] info: spamd: server successfully spawned child process, pid -3304
Wed May 3 15:26:42 2017 [3832] info: prefork: adjust: 0 idle children less than 1 minimum idle children. Increasing spamd children: -3304 started.
Wed May 3 15:26:42 2017 [3832] info: prefork: child states: BBI
(...goes on with usual connection and processing entries..)
debugging is a pain. this is a busy production server.
thanks for any advise (tweak suggestions?) without debugging option first - if possible.