High CPU usage for
spamtrain processes in the Plesk server.
sa-learn script is used by
spamassassin to learn the specific properties of spam from a folder that supposedly contains only spam emails.
CPU usage of the
sa-learn process depends on the number of emails in mailboxes and their size. In turn, if the number of emails is huge - CPU over usage is expected.
To work around the issue, use one of the following solutions: