Running Out of Disk Space on VPS

Running out of available disk space on a Virtual Private Server (VPS) can cause a variety of errors. Everything from server processes like SQL to basic website scripting can be affected. Worst of all, this can affect all of the sites on your VPS. The best way to avoid this problem is through advance planning and being aware of common causes.

In this article: 

Always Check from Root

If you’re monitoring disk space on a VPS, you must check the used and available space from the ‘root’ account. Root access is important because it’s the only way to get accurate information. Most information you get within a cPanel is limited. A cPanel can only provide the information it has access to. You will get misleading information unless you check your server statistics with root.

A great example of this is available disk space. A VPS requires a certain amount of disk space for server files. These include the server’s operating system (CentOS, Ubuntu, Debian), and other core software. However, that disk space is only listed as ‘used’ when you check from a root account. If you check from a normal account, even in Web Hosting Manager (WHM), you may not realize you’re already out of disk space!

Watch Out for Backup Turnover

There is one misunderstanding with WHM backups that leads to many disk space errors. When you schedule cPanel backups in WHM, you can save more than one backup. WHM first creates a new backup, then deletes the oldest ‘extra’ backup.

The problem is that moment between making a new backup and deleting an old one. In that time, an otherwise safe account can easily go over its usage limit. The errors caused by a lack of disk space prevent WHM from deleting old backups. When that happens, it can be very difficult to even get access to the server and clear out those old backups!

Prevent this problem before it happens– only save as many backups as you need. Remember that cPanel backups can be quite large. When you plan your backups, make sure you leave room for the ‘extra’ backup that briefly exists.

Beware Junk Files

If you are hosting websites for your own clients, it’s a good idea to set some ground rules. Some people will never want to empty their email inboxes. After a few years, inboxes can balloon to 30 or 40 GB in size! Some clients upload lots of temporary files while working on their sites. If those files aren’t deleted, they are needlessly taking up space. A good way to manage this while you’re building a site is to regularly clear out files you don’t need.

Keep up with your clients and make sure they know what not to do. Prevent junk files from piling up you’ll be able to keep your server running with plenty of extra space!

Get more more disk space than our competitors provide with our Managed VPS Hosting plans.

Was this article helpful? Let us know!