Running Out of Disk Space on VPS Carrie SmahaUpdated on June 30, 2026 4 Minute Read Running out of disk space on your InMotion Hosting VPS can trigger a cascade of issues: MySQL/MariaDB errors, PHP script failures, email delivery problems, and even service crashes that affect every website on the server. With InMotion’s high-performance NVMe SSD storage, you have fast and reliable disk resources, but proactive management is essential to avoid downtime. This updated guide covers modern best practices for InMotion VPS plans (running AlmaLinux, Ubuntu, or Debian) including: Checking disk usage correctly as root Preventing backup-related space issues Identifying and cleaning junk files & logs Advanced troubleshooting and prevention tips Monitoring tools and automation Why Accurate Disk Monitoring Matters on InMotion VPS InMotion VPS accounts include dedicated resources with NVMe storage, but the operating system and core services (Apache/Nginx, MariaDB, cPanel/WHM, etc.) consume baseline space that may not appear accurately in limited user views. Always check from the root account or via WHM for reliable data. Step-by-Step: Check Disk Space via SSH (Recommended) Log in as root (or use sudo): ssh root@your-vps-ip Use the df command for a high-level overview (human-readable format): df -h Look at the / (root) filesystem usage percentage. Aim to keep it under 80-85% for safety. Identify large directories with du: du -sh /* | sort -hr Common culprits: /home (user accounts & websites) /var/log (logs) /var/mail or /home/*/mail (email) /backup or /home/backup (cPanel backups) For deeper analysis: du -sh /home/* | sort -hr du -sh /var/* | sort -hr Pro Tip: On InMotion Managed VPS, you can also monitor via WHM → Home → Server Information or use tools like ncdu (install with dnf install ncdu on AlmaLinux or apt install ncdu on Ubuntu). Preventing Backup Turnover Issues in WHM/cPanel WHM/cPanel backups are a frequent cause of sudden disk exhaustion on VPS servers. How the Problem Occurs WHM creates a new backup before removing the oldest one. During this window, temporary space usage spikes, potentially pushing you over limits and blocking cleanup. Best Practices for Backup Storage Management In WHM → Backup Configuration: Set “Backup Retention” to the minimum you actually need (e.g., 1-2 copies). Enable “Use Local Directory” only if you have sufficient headroom. Schedule backups during low-traffic periods. Download backups regularly to local/external storage and remove them from the server. Consider InMotion’s offsite backup options or third-party tools like rsync for efficient incremental backups. Leave at least 20-30% free space buffer to accommodate the “extra” backup during rotation. Warning: Never let backups fill your NVMe drive. Full disks can make SSH/WHM access difficult. If locked out, contact InMotion Support for assistance. Managing Junk Files, Logs, and Client Usage Websites, emails, and temporary files grow quickly. On multi-site VPS setups, this is especially impactful. Common Sources of Bloat Large email inboxes (IMAP clients that never delete) Old backups and cache files (/tmp, WordPress caches, session files) Uncompressed logs in /var/log Developer temporary uploads or unused media Cleanup Commands (Run as Root) # Clear old logs (adapt for your OS) journalctl --vacuum-time=2weeks # AlmaLinux/Ubuntu systemd find /var/log -type f -mtime +30 -exec rm {} \; # Older files # Empty /tmp safely rm -rf /tmp/* # Only when services are not heavily using it # Find large files find /home -type f -size +100M -exec ls -lh {} \; Client & Site Management Best Practices Set disk quotas per cPanel account in WHM. Educate clients on emptying trash, limiting email retention, and using external storage (e.g., S3-compatible) for large media. Schedule regular maintenance with cron jobs or use InMotion’s managed support for optimization. For WordPress/Laravel sites: Enable object caching (Redis) and clean plugin/theme caches. Additional Troubleshooting & Prevention Tips Monitor Trends: Install htop, iotop, or use InMotion’s server monitoring tools. Set up alerts for high disk usage. Database Optimization: Run mysqlcheck or optimize tables regularly to reduce bloat. Upgrade Storage: InMotion VPS plans offer scalable NVMe options. Contact support or upgrade via your Client Area when nearing limits. Security Note: Regularly update your system (dnf update on AlmaLinux or apt update && apt upgrade on Ubuntu) and use Fail2Ban to prevent abuse that could fill logs. If You’re Out of Space Now: Delete unnecessary files immediately. Suspend heavy accounts in WHM. Reach out to InMotion’s 24/7 support for emergency help. Final Recommendations for InMotion VPS Customers Effective disk management keeps your sites fast, secure, and reliable on InMotion’s NVMe-powered VPS infrastructure. Combine root-level monitoring, conservative backup policies, and routine cleanups for the best results. For more VPS resources, explore our full Managed VPS Hosting Product Guide. Need personalized assistance? Our Launch Assist and 24/7 technical support team is ready to help optimize your server. Summarize and Research with AIShare on Social Media Carrie Smaha Senior Manager Marketing Operations Carrie Smaha is a digital strategy, web development, and SEO leader with 20 years of experience. She built her foundation in fast-paced agency environments before moving in-house to InMotion Hosting, where she leads go-to-market programs, agency initiatives, and technical product marketing that connects product capability to real customer decisions. More Articles by Carrie Related Articles Running Out of Disk Space on VPS Getting Started with Managed VPS Hosting VPS Hosting Technical Support Options How to Set Up MariaDB on a VPS: Installation and Initial Configuration How to List Accounts in your cPanel Server DNSSEC in cPanel Managed Servers for Better Security Securing Your VPS: 24 Ways to Harden Server Creating New Users in CentOS 7 Upgrade to VPS NVMe SSD Hosting How to Install Java on CentOS