At just 256k dedicated RAM the Media Temple Base is not exactly top of the range. In fact it is pretty much rock bottom. But for the money it is a good deal. If you optimise your server the (dv) Base can happily run multiple installs of ExpressionEngine with medium levels of traffic.
This article is advice only. No responsibility will be taken for following the instructions below.
After around 6 months of using the (dv) Base I found that the server was regularly complaining that it was running out of memory. The box was running around 15 sites and 30 email accounts. Around that time Google Hosted Services emerged and after a month or so of testing with my own account I made the switch. Moving email off the (dv) to Google has improved the service offering to clients and reduced the load on the box. None of my clients have found any problems.
To move to Google Hosted Services you need to set up the account and then (and only when) you are ready amend the DNS records for each domain. This can be done through the Media Temple control panel.
Media Temple have posted a series of articles on optimising the (dv) server. Following these will reduce the load on the server and free up some precious RAM.
Dave Seah has also posted a series of articles targeted at using WordPress on the (dv). Although these are focussed on WordPress all of them are worth reading and following:
There are some useful comments in these articles here that can help you squeeze every last ounce of RAM out of your server.
Plesk is configured to start services on boot even if you are not using them so you can go through and disable them. To do this you remove execute permissions from the start up scripts in the /etc/init.d/ folder. So for example I’m not using the courier-imap service so the following command stops it from starting.
chmod a-x /etc/init.d/courier-imap
If I want to turn it back on at a later date I can just use
chmod a+x /etc/init.d/courier-imap
Here are the services I disabled - remember I’m not using email on the (dv).
After doing all this and following the items above the amount of RAM in use has more than halved and the box is now happily running using about 35% of the allocated 256k or RAM.
Have an update or suggestion for this article? You can edit it here and send me a pull request.
Listening to BBC Radio with mpv
The BBC publishes high quality 320 kbps HLS AAC streams that can be used to listen to radio from the command-line using mpv. Here are the URLs and some aliases to start listening quickly.
Vim: So long Pathogen, hello native package loading
Vim 8 added a native way to load third-party packages. This means, for me at least, there is no longer any need to use a third party plugin helper like Pathogen.
Linux and Unix more command tutorial with examples
Tutorial on using more, a UNIX and Linux command for viewing the contents of a file or files one screen at a time. Examples of viewing a file, viewing multiple files, searching using regular expressions and opening the file in a text editor.