Optimizing cPanel/WHM for VPS
A quick note for optimizing cPanel/WHM for VPS..
If the host is not mail server i.e. not receiving email from internet then this service can turn off. To turn it off, do the following:
Go to WHM > Server Configuration > Tweak Settings > Disable Spamd
Go to WHM > Service Manager > Disable Spamd
If you aren’t running any mail listings, it is good idea to disable the Mailman.
Go to WHM > Server Configuration > Tweak Settings > Disable Mailman
cPanel/WHM with Tomcat on a VPS
cPanel/WHM itself is huge. Planning to run Tomcat on a cPanel/WHM VPS is not a good idea. Tomcat and Java webapps are RAM/CPU intensive program in general.
If you’re undergoing a mail attack, catch all can use up many resources + storage. To disable do the following:
Go to WHM > Server Configuration > Tweak Settings > Change to :fail:
Tweak Apache httpd
Apache httpd can be quite a memory consuming service on its own. To tweak, do the following:
Change the following settings:
After that, restart Apache: /etc/init.d/httpd restart