Spamd is a high memory consuming process. The best way to manage and tweak this process is to install the cPanel Addon called “spamdconf”. You can follow the steps mentioned below for installing and managing “spamdconf”.
** Login to WHM as root
** Navigate to cPanel >> Manage Plugins.
** Search for “spamdconf ” and check “Install and keep updated”.
** Click on save
** Once it’s done, refresh the WHM page, scroll down to “Add-ons” on the navigation bar and then click on ‘Setup Spamd Startup Configuration”.
** Set “Maximum Children” to “2”. Then hit Submit.
** Wait a few seconds for exim to restart and you’re done.