• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

SpamAssassin slow - high CPU load

M

Magumo

Guest
Good day,

I am on Plesk 9.5 and not getting joy from the optimization steps posted by atomicturtle in thread http://forum.parallels.com/showthread.php?t=50062

When I am running SA, my mail server goes extremely slow to the levels of smtp and pop3 ports timing out on users. The CPU load will be above 12. The moment I disabled SA, the CPU load drops to around 2 and the server is very responsive.

The problem is the spam is too much without SA running and my clients off course notices and complain about it.

- How can I optimize SA, or is it just purely a hardware resource issue?
- I am thinking of running spam filter on separate server, any advice and recommendations?

Below is an indication of the slowness SA is scanning the messages, with values up to 50sec common.

Code:
May 11 11:15:05 server spamd[19791]: spamd: clean message (-2.0/7.0) for [email protected]:110 in 45.8 seconds, 109753 bytes. 
May 11 11:15:05 server spamd[20338]: spamd: clean message (1.6/7.0) for [email protected]:110 in 14.2 seconds, 52345 bytes. 
May 11 11:15:05 server spamd[23319]: spamd: clean message (0.9/7.0) for [email protected]:110 in 16.3 seconds, 19741 bytes. 
May 11 11:15:10 server spamd[22694]: spamd: clean message (-2.3/4.0) for [email protected]:110 in 22.9 seconds, 32425 bytes. 
May 11 11:15:18 server spamd[23771]: spamd: clean message (-2.2/7.0) for [email protected]:110 in 49.3 seconds, 10218 bytes. 
May 11 11:15:18 server spamd[22206]: spamd: clean message (-1.1/7.0) for [email protected]:110 in 45.1 seconds, 16289 bytes. 
May 11 11:15:18 server spamd[430]: spamd: clean message (-0.9/7.0) for [email protected]:110 in 4.9 seconds, 2584 bytes. 
May 11 11:15:23 server spamd[23771]: spamd: clean message (0.5/7.0) for [email protected]:110 in 1.8 seconds, 5202 bytes. 
May 11 11:15:24 server spamd[22175]: spamd: clean message (0.0/7.0) for [email protected]:110 in 51.8 seconds, 34617 bytes. 
May 11 11:15:29 server spamd[22206]: spamd: clean message (1.0/6.0) for [email protected]:110 in 7.9 seconds, 21311 bytes. 
May 11 11:15:29 server spamd[23771]: spamd: clean message (1.7/7.0) for [email protected]:110 in 2.8 seconds, 16458 bytes.
 
Last edited by a moderator:
Back
Top