Problem Description
For the last few days one of my Sympl hosts has been incredibly slow when sending emails. Usually when I launch Thunderbird it loads my IMAP inbox instantly, but it’s currently taking closer to a minute. Likewise emails used to be send immediately but are now taking a minute or two and I can’t do anything else in Thunderbird whilst this is happening (they do get sent eventually).
I’ve also received emails (copied below) about services failing and entries in the paniclog. Usually I get another email saying all the services have PASSED a few minutes later, but the slow email problem continues.
There’s nothing in the Exim log (/var/log/exim4/mainlog), other than there’s a gap of about a minute between the email being received and then being sent out.
Things I’ve tried/checked:
- Rebooting the server: Doesn’t seem to have any effect.
- Deleting the paniclog file: This seems to restore everything to normal for a few hours, then the problem re-occurs
- Process list: Nothing unusual here, no processes I don’t expect or any taking up large amounts of CPU or RAM.
- User list: Again, nothing unusual - my SSH sessions are the only ones shown.
The other things I haven’t tried yet are:
- Upgrading the VPS to have more RAM, in case this is an out of memory issue (I have had this problem with spamd/SpamAssassin on my previous bespoke mail setup)
- Upgrading to Debian Bullseye, though I’m not sure if this would fix the problem.
In my /srv/domain/config
folder I have the following zero-sized files:
antispam
blacklists/zen.spamhaus.org
These have been in place since I started using Sympl for mail.
I do have another Sympl host with the same mail configuration and a similar volume of incoming mail (99% of which is spam) which isn’t experiencing problems.
Any Error Messages
2022-01-13 11:04:09 1n7xth-0002U4-49 spam acl condition: error reading from spamd [127.0.0.1]:783, socket: Connection reset by peer
2022-01-13 11:04:09 1n7xth-0002U4-49 spam acl condition: all spamd servers failed
2022-01-13 11:04:09 1n7xth-0002U4-49 spam acl condition: all spamd servers failed
2022-01-13 11:04:09 1n7xth-0002U4-49 spam acl condition: all spamd servers failed
2022-01-13 11:04:09 1n7xtg-0002U2-H5 spam acl condition: error reading from spamd [127.0.0.1]:783, socket: Connection reset by peer
2022-01-13 11:04:09 1n7xtg-0002U2-H5 spam acl condition: all spamd servers failed
2022-01-13 11:04:09 1n7xtg-0002U2-H5 spam acl condition: all spamd servers failed
2022-01-13 11:04:09 1n7xtg-0002U1-4u spam acl condition: error reading from spamd [127.0.0.1]:783, socket: Connection reset by peer
2022-01-13 11:04:09 1n7xtg-0002U1-4u spam acl condition: all spamd servers failed
2022-01-13 11:04:09 1n7xtg-0002U1-4u spam acl condition: all spamd servers failed
Started Sympl service monitor.
INFO Runner: spamassassin: Checking service is enabled
INFO Runner: spamassassin: Checking process
INFO Runner: spamassassin: Testing connection to localhost:spamd
INFO Runner: spamassassin: > PING SPAMC/1.3
INFO Runner: spamassassin: Connection test temporarily failed: execution expired
INFO Runner: spamassassin: Attempting to stop spamassassin
INFO Runner: spamassassin: Attempting to start spamassassin
WARN Runner: spamassassin: RETRYING (following Temporary failure)
INFO Runner: spamassassin: Checking service is enabled
INFO Runner: spamassassin: Checking process
INFO Runner: spamassassin: Testing connection to localhost:spamd
INFO Runner: spamassassin: > PING SPAMC/1.3
INFO Runner: spamassassin: Connection test temporarily failed: execution expired
INFO Runner: spamassassin: Attempting to stop spamassassin
INFO Runner: spamassassin: Attempting to start spamassassin
WARN Runner: spamassassin: FAILED: Temporary failure
INFO Runner: RESULT: 9/10 passed.
sympl-monit.service: Main process exited, code=exited, status=1/FAILURE
sympl-monit.service: Failed with result 'exit-code'.
sympl-monit.service: Triggering OnFailure= dependencies.
$ free -m
total used free shared buff/cache available
Mem: 1995 457 431 42 1106 1323
Swap: 0 0 0
$ uptime
08:39:53 up 1 day, 21:33, 1 user, load average: 0.07, 0.03, 0.00
Environment
- Sympl Version: 10.0
- Sympl Testing Version? No
- Debian Version: Buster
- Hardware Type? Virtual
- Hosted On? Mythic Beasts