Support / KnowledgeBase

 
Search the KnowledgeBase Search

(dv) 3.5 Auto-Tuning your server

  • Applies to: (dpv) Nitro, All (dv)

  • Difficulty: Easy

  • Time needed: 5 minutes

  • Tools needed: None

 

SUMMARY:

(mt) Media Temple has a tool that will allow you to easily optimize your (dv) 3.5 Dedicated-Virtual Server . MIB (Make It Better) contains preset configurations hosted on our internal repository. These presets allow you to easily tune your server using values that have been thoroughly tested by our engineers. Whether you have a Base, Rage, Extreme, or Nitro we will provide you with just the right amount of power to get the most out of your service.

NOTE:

When your server is first set up, the proper settings are already applied. You only need to run these MIB optimizations if you:

  • Have upgraded/downgraded to a higher/lower service plan.
    It is very important to do this, especially if you are downgrading your service.
  • Would like to revert any changes you may have made to the server configuration.

MIB is run from the command line via SSH. Although this utility is much simpler than applying these optimizations manually, it is still recommended to have a basic understanding of SSH and Linux system administration. Please review the following KnowledgeBase articles for more in-depth information on these topics:

NOTE:

If you currently do not have your root user enabled please visit your AccountCenter to enable root access.

We will be adding more functionality to this tool to allow for more robust auto-tuning, including the ability to restore critical system configuration files and granular control of system services.

WARNING:

Use of this script implies that your agree and understand the following:
(See MIB Changelog section below for more detail)

  • Configuration files on your server will be altered
  • Additional files will be downloaded and installed on your server

USAGE:

We have made MIB very easy to use. This is the most basic usage of the command, which will show you some basic options:

/usr/local/mt/bin/mib

The following list details each particular flag or option that is available.

  • --base

    this will apply the optimum settings for a default (dv) Base configuration

  • --rage

    this will apply the optimum settings for a default (dv) Rage configuration

  • --extreme

    this will apply the optimum settings for a default (dv) Extreme configuration

  • --nitro

    this will apply the optimum settings for a default (dpv) Nitro configuration

All of the above commands would be added to the end of the command above, i.e.

/usr/local/mt/bin/mib --base

Running any of the above commands will output a list of changes that will be done without actually performing them. For your safety, it will only run in test mode until you apply the "--apply" flag to your command. Thus your full command would be similar to the following:

/usr/local/mt/bin/mib --base --apply

MIB ChangeLog

Files changed

/etc/httpd/conf/httpd.conf
  • Setting for timeout lowered from 120 to 20
  • Settings for prefork.c changed for optimal settings of your (dv) service type
/etc/my.cnf
  • Query Cache is enabled
  • Query Cache size is set for optimal settings of your (dv) service type
usr/local/psa/admin/conf/httpsd.custom.include
  • Is created if not already present
  • Lowers prefork.c values for Plesk preventing extra processes from being launched specifically for Plesk

Service Changes

  • Apache is restarted
  • MySQL is restarted
  • named is disabled

Revisions:

01-23-2009: Article formatting cleaned up

User Comments

No visitor comments posted. Post a comment

Fields marked with an asterisk(*) are required. Comment on this article

Fill out the form below if you would like to comment on this article.
 
 
 

(code is not case-sensitive)
 
Submit
 
 

Continue