Category: Servers & Hosting

You’ve got a VPS server, now what?

If you can’t be bothered to read the whole thing, READ THE BOLD BITS, it still makes sense.

When you get a new VPS everything feels nice.  You’ve got your own server, without the Dedicated server price tag, however all is not quite as it seems.

A key thing to remember; A low end VPS does NOT have the same amount of resources available.

The first thing you will want to do with your server is setup everything, this may include, assuming for web hosting;

  • Control Panel
  • Web server & PHP / Python etc
  • E-mail with Anti-virus/Spam detection
  • DNS
  • Database Server
  • Log file processing

Be careful when doing this.  You are likely getting a VPS because your website is now getting enough traffic, or you are hosting enough sites that shared hosting just doesn’t cut it.  By adding all of those services you are eating into valuable resources.

If your VPS is for your website, its for your website, not the extras, consider the following;

Control Panel

After your initial setup there probably isn’t much need for a control panel. Where possible, disable it. Virtualmin/Webmin/Usermin for example runs as its own perl process and while not very much it still uses memory that most of the time you don’t need. You can always login to the machine and enable it again via SSH.


Consider using Google Apps. You can offload all of your E-mail, the virus checking & spam checking to someone else. Gmail is a huge platform and most of you know the features offered by this. Google Apps allows all of that on your own domain name. There is 7gb of storage per account, for free. If you need more, or feel like offering google some money, its £33 per account, per year (at the moment)


Many server providers, like linode, have DNS servers that are free for you to use. Utilize them. BIND, on this very server, is utilising over 100mb of memory.

Log file processing

Webalizer and AWStats are both common log file processing tools. Do you really need them though? In some instances, yes, in most…no. Use Google Analytics (or something similar).  If you get a lot of traffic, processing millions of lines takes minutes to hours, during which time your website will be sluggish. A slow website really kills the user experience. If you really want/need something like AWStats, install it on your own computer & process the log files manually.

Web Server & Database Server

As this is your web server you can’t do much about the overhead of a web server or database server (unless your running 2 VPS’s). What you can do is limit what is running. The default installation of Apache on Debian includes a lot of modules you will probably never use. Disable extensions that you don’t need.

Or….you can get a bigger VPS or multiple VPS for all of your services.

Remember: the faster your server runs, the faster your website runs, the happier your users are, the happier google is, the happier you are…….well hopefully.

Goodbye – hello Linode

After seeing yet another failure from the camp, this FAR worse than anything I’ve seen before I decided to jump ship.

What was this failure?  well…

It has to do with the licensing, the licenses stopped pinging, which made replication stop, which caused some services to stop, they then logged in and rebooted it, and thought it was back up, but upon mounting VMs, it came to the point where it was clear that there was corruption. We then were able to restore all the logical volumes, but even then, the VMs wouldn’t boot..that brings us to where we’re at now

From my point of view, my server died, wouldn’t come up and after 24 hours it still wasn’t available.  There seems to be a high chance there is a missing data….that’s to be checked later.

Far from re-assuring.

So, over to Linode. Similar pricing for the basic stuff.

  • The initial setup was very much the same on both providers, under 5 minutes and a new machine was ready to go.
  • Installing the software I need, pretty quick – then again I’ve done it several times now.
  • Restore backups from my Amazon AWS – costs less than £3 per month to run what I required.
  • Less than 4 hours after setting up the nodes I am back live with only emails delayed.

I must admit, I’m pretty impressed with the flexibility of functions in the control panel for Linode.  In addition to what offers, Linode has;

  • A job queue
  • Root password reset
  • Rescue mode
  • Kernel switch
  • Custom disk sizing
  • Custom drive mounting
  • Alerts  on CPU usage, Disk IO, Traffic and Transfer Quota
  • Auto-reboots – this has not yet been a problem anyways
  • Additional RAM/Storage/Data Transfer all separately configurable

There maybe more as well, this is under 24 hours of signup which included sleep, work & setting up servers.

My sites also seem more responsive as well, faster disks maybe?