Christopher J. Pace is a freelance Linux consultant who has worked with Linux since 2001. He provides remote Linux consulting services for Linux servers.
As a freelance Linux consultant, many of my clients are often interested in making their VPS (Virtual Private Server) as responsive as possible. Since VPS servers by nature have somewhat limited system resources (often less than 1 GB of RAM), getting the best VPS performance can be a crucial part of running a successful server. To make matters worse, most clients assume that the VPS host has already optimized their server- which simply isn't true (even Rackspace, a wonderful VPS host, doesn't do this). Therefore, I've written this article as a brief introduction to some of the more common ways to get the best performance from a VPS.
Tip #1: Disable system services
The top way to increase your VPS performance is to disable any system services that are not necessary. Services that are never used will still use up valuable RAM and CPU time, and also possibly allow your server to be attacked remotely. If you don't need these services, why have them? Manage the startup scripts that start these services at boot time, and disable them.
Tip #2: Configure MySQL properly.
One of the more common ways to increase the available RAM (or to allocate more RAM to MySQL) is to configure the MySQL cache sizes. If your MySQL server instance is using too much memory, decrease the cache sizes. Likewise, if MySQL gets bogged down with large requests, increase the MySQL cache.
Tip #3: Configure Apache properly.
With Apache 2.0, many system administrators and clients alike have become confused as to the proper configuration of the Apache worker threads. Check how much memory Apache is using, and adjust the StartServers and MinSpareServers directives as needed to free up more memory.
Tip #4: Clean up your modules!
Without exception, there will always be modules or features that are enabled in memory hungry server software packages (such as Apache) that simply are not needed. Take a look at the configuration files for Apache, and decide if you need FrontPage support, or some of the other extra modules that ship with the VPS software packages. Disabling unnecessary modules or plugins will decrease the system memory that server software such as Apache requires, which will give you more resources for the software that needs it!
Tip #5: Disable control panels.
Let's face it, everyone loves the more popular control panels, such as Cpanel, Plesk, Webmin, and phpMyAdmin. Heck, I've even written tutorials on how to use some of these control panel software packages. However, disabling these software packages frees up quite a bit of resources- sometimes as much as 120 MB of RAM! Sometimes the best solution is to disable these control panels until you actually need them- then they can be turned on via a PHP script (albeit somewhat insecure), or via a command entered at a shell prompt.
These 5 tips should decease the amount of RAM that your VPS uses by as much as 30-40%, which might save you quite a bit of money per month. Since most providers start out their VPS plans at systems with 256MB of RAM (and upgrades from there are expensive, often costing $40/month for an additional 256 MB), optimization of a VPS server is a crucial step. In addition, these 5 tips can be performed by a talented system administrator or consultant in typically less than two hours, which can mean a return on investment after only two or three billing cycles. What you do with the extra money saved is your business- you've earned it!
- Related Videos
- Related Articles
- Ask / Related Q&A
- 5 Linux VPS Performance Tips
- Linux Hosting Services for Quality Business Solutions
- How Small Businesses Can Reduce Operating Costs by Utilizing Windows Virtual Private Server (vps) Hosting Solutions
- The Reseller Privileges and Package Features of Linux Host Elven
- Tips to Make Your Linux VPS Work Effectively
- Vps Hosting– Advanced Shared Hosting With Total Control!
- Why Windows Vps Hosting?
- Why is Vps Better Than Shared Hosting?




Fix Iexplore Exe Application Error With Registry Cleaner
By: Franck Lin | 05/01/2010Every time we use our computer the most common problem we experience is the iexplore exe application error.Many people do not know enough about computers to understand what such messages mean. But panicking isn't the thing to do.
Fix Runtime Error 62 With Registry Cleaner
By: Franck Lin | 05/01/2010Are you facing runtime error 62? Firstly, how do you know it's a runtime error? Are you getting a message box which has a particular code and its definitions. And once you have closed the message box, the program which you wanted to open usually closes or sometimes even the whole system restarts.
Some Information about USB Flash 8GB
By: Bellamy Edward | 04/01/2010Gone are those days when floppy disks were used to carry data. Almost everyone has heard of the USB Flash drive (commonly known as ‘pen drive’).
Do you like Windows 7?
By: Linky Wu | 04/01/2010Windows 7 is the latest public release version of Microsoft Windows, a series of operating systems produced by Microsoft for use on personal computers, including home and business desktops, laptops, netbooks, tablet PCs, and media center PCs. Windows 7's server counterpart, Windows Server 2008 R2, was released at the same time.
Examsoon 000-100 Practice Questions and Answers
By: Adela1987 | 04/01/2010Examsoon Certified Professionals update its Examsoon IBM 000-100 Certification Training Materials regularly to maintain accuracy and high quality. We have always been providing updated and accurate Examsoon IBM 000-100 Practice Questions and Answers with Explanations to hundreds of now successful exam candidates.
Most Importance Information of sd card 2gb in the market
By: Beerbohm Max | 04/01/2010Today every user of sd card 2gb know that sd stands for secure digital in the market. Today secure digital association has given the approval to many cards for using sd card 2gb in the market. Also various types of approved cards such as mini sd, micro sd previously known as transflash card are having the usage of sd card 2gb.
The Canon Powershot A700 digital Camera Rocks
By: Aprill Pudol | 02/01/2010The Canon Powershot A700 digital camera is a stylish and chic camera. It's one I can take all over the place, to document those exceptional moments in my life.
Find A Lost Relative With Free People Search Engines-Find A Lost Relative
By: Franck Lin | 02/01/2010A free lost relative search is something that is in high demand these days.If you want to find a lost relative, it would definitely be easier to look online rather than perform a physical search. Free people search sites are available in countries like the United States. The downside to using free sites is that they are usually only available in progressive countries.
Leading Through Turbulent Times
By: Christopher Pace | 11/10/2009 | LeadershipTurbulent times, such as today, can stretch organizations to the max. People get scared, the environment seems unpredictable, and sometime we can't really see where we are going. In these times, there are five keys to leading your organization to the other side.
Estimating the Scope and Impact of Potential Changes
By: Christopher Pace | 11/10/2009 | LeadershipAt this stage of the process, estimating the scope of the potential change is probably an intuitive piece of work. You want to invite creative thinking but not to generate reams of junk. The players won't have much tolerance for that. Also, you don't want to zero in on a specific "fix" just yet, but there still has to be sufficient reality and credibility in this judgment to complete the work of Task I.
Application of the Ten Tasks Model
By: Christopher Pace | 11/10/2009 | LeadershipHow much rigor and attention you must pay to each item listed under each of the ten tasks will depend on its relevance for the situation and the magnitude of the changes you face. For example, in a technology change, the more business process boundaries crossed, the greater the change of skills and knowledge demanded, the larger the impact on collateral systems, and the deeper the impact on culture and careers of the workforce, the more formal attention you must pay to the ten tasks.
Managing Transitions
By: Christopher Pace | 10/10/2009 | Team BuildingAn excerpt from Jeff Evan's book, The Ten Tasks of Change: By this stage in a change effort, if you have been following the Ten Tasks, much of the organization's population has been involved in one way or another. The last few months have probably been dedicated to establishing the new design, planning its implementation, and staffing it. The work to date has specified clearly what is necessary to preserve the integrity of the new system and set the minimum critical specifications for t
Identifying Realistic Metrics for Categories
By: Christopher Pace | 10/10/2009 | LeadershipExcerpt from Jeff Evan's book, Ten Tasks of Change
Phases Two and Three of Organizational Change
By: Christopher Pace | 10/10/2009 | LeadershipExcerpt from Jeff Evan's Book, Ten Tasks of Change After the dust has settled, move on to the second phase, beginning to put more detail into the design concept.
Choosing A Linux Host
By: Christopher Pace | 18/09/2009 | Operating SystemsChoosing a Linux host provider can be one of the biggest decisions that you make with an online business or website. Given the current rate of unreliable hosting operations, it is difficult to find a reputable, professional Linux host that doesn't charge an arm and a leg.
5 Linux VPS Performance Tips
By: Christopher Pace | 02/08/2009 | Operating SystemsAs a freelance Linux consultant, many of my clients are often interested in making their VPS (Virtual Private Server) as responsive as possible. Since VPS servers by nature have somewhat limited system resources (often less than 1 GB of RAM), getting the best VPS performance can be a crucial part of running a successful server.