Tweaking cPanel For Lower Memory Consumption

Do you find that your Cheap VPS Hosting or dedicated hosting machine is regularly running out of memory because of cPanel? The following tutorial will help you overcome this, and help you to make your machine run faster.

Stopping SpamAssassin

This program isn’t overly important to the stopping of spam. To turn it off do the following:

Go to WHM > Server Configuration > Tweak Settings > Disable Spamd

And:

Go to WHM > Service Manager > Disable Spamd

Stopping Mailman

If you or none of your customers aren’t running any mail listings through cPanel, it would be a good idea to disable Mailman.

Go to WHM > Server Configuration > Tweak Settings > Disable Mailman

Never Use Tomcat on a VPS

Never run TomCat on a VPS because of it’s high RAM needs.

Disable CatchAll

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

Apache can be quite a memory consuming monster on it’s own. To tweak, do the following:

vi /etc/httpd/conf/httpd.conf

(Press ‘shift’ and ‘i’ to enable inserting/editing.)

Change the following settings:

MinSpareServers 2
MaxSpareServers 5

StartServers 3

Save the file by pressing ‘esc’, then type ‘:wq:’, then hit return.

After that, restart Apache: /etc/init.d/httpd restart

All that should reduce your memory useage by a large amount.

Related Posts:

  • No Related Posts


Online 24X7 Chat Support
 
 
Telephone
Toll Free
Online chat
 
Online 24X7 Email Support
 
Emails
 
 
 
Support
Support email
sales
Sales email
 
Billing
Billing email
 
   
Latest Tutorials & Articles (Updated Daily)
http://blog.eukhost.com
  Forums :
http://www.eukhost.com/forums/