On this page
What this issue is
Every server has a fixed amount of storage. When it fills up, anything that needs to write a file fails. That includes saving an uploaded image, creating a PHP session file, writing a log line, caching a page, or letting the database write to its data files.
Two kinds of full exist. Space full: no free bytes left. Inodes full: the disk has room, but you have run out of file entries (inodes), which happens when millions of tiny files pile up, such as session or cache files. Both give the same symptom: No space left on device.
On shared hosting you may instead hit a quota, a per-account storage cap set by your host. The effect is the same, and the message is often Disk quota exceeded.
Why it costs you leads or sales
The site often still loads, so nobody notices. But the parts that capture money quietly break: a form that stores entries in the database or sends mail through a local queue may fail, a login or cart that relies on session files may reset, and a checkout may not save the order. Visitors see a generic error or a form that does nothing, and leave.
- Visitor opens pagePage loads from cache or read-only files
- Fills in formSession file cannot be created
- Submission savedDatabase or file write fails
- Email and CRMNothing is sent
The page loads fine, but the write step fails, so the lead is never stored or sent.
Example: illustrative numbers for a site that normally gets 20 leads a day. Once the disk is full, most submissions fail.
How to check if your site has it
Look for the signs first, then confirm on the server.
- Image or file uploads fail with a generic error
- Logins, carts or multi-step forms reset between pages
- Form submissions do nothing or show an error
- Error logs contain
No space left on deviceorDisk quota exceeded - The database stops with write errors or crashes
- WordPress says it cannot create a directory or move an uploaded file
If you have SSH (command line) access, run these commands.
# Free space per disk
df -h
# Free inodes (file entries) per disk
df -i
# Biggest folders in the web root (adjust the path)
sudo du -xh /var/www --max-depth=2 | sort -rh | head -20
# Biggest folders on the whole disk
sudo du -xh / --max-depth=2 2>/dev/null | sort -rh | head -20
# Files over 500 MB
sudo find / -xdev -type f -size +500M -exec ls -lh {} + 2>/dev/nullLook for a Use% of 100% in df -h or IUse% of 100% in df -i. On shared hosting without SSH, check the disk usage or quota page in your hosting control panel (for example cPanel's Disk Usage tool).
How to fix it
Take a backup or snapshot first
Before deleting anything, make sure you can recover. If the host offers snapshots, take one.
Find what is using the space
Use the
ducommands above or your control panel's disk usage tool. Usually a few folders account for most of it.Clear safe-to-delete items
Typical culprits: huge log files, old backups stored on the same server, cache folders, stale PHP session files, temp files and unused staging copies.
Rotate and cap logs
Make sure logrotate is set up for web server, PHP and application logs so they are compressed and deleted after a set period.
Move backups and media off the server
Send backups to separate storage and consider offloading large media files to object storage or a CDN.
Add space if you genuinely need it
If the data is all legitimate, resize the disk or upgrade the hosting plan.
Restart services if they stopped
A database or web service may have crashed when the disk filled. Restart it once space is free and check it starts cleanly.
# See how large the systemd journal is, then trim it
journalctl --disk-usage
sudo journalctl --vacuum-size=200M
# Clear the apt package cache (Debian/Ubuntu)
sudo apt-get clean
# See large log files
sudo du -sh /var/log/* | sort -rh | head
# Empty (not delete) a runaway log file
sudo truncate -s 0 /var/log/example-huge.logCheck wp-content
Run
du -sh wp-content/*. The uploads, cache and backup plugin folders (for example wp-content/updraft or ai1wm-backups) are common space hogs.Delete old backups and cache
Remove old backup archives stored locally and purge your caching plugin's cache from its settings page.
Check debug.log
A wp-content/debug.log file can grow to gigabytes. Delete it and set WP_DEBUG_LOG to false in wp-config.php.
Check session and temp folders
Look at your PHP session save path (
php -i | grep session.save_path) and /tmp for large numbers of old files.Check application logs and uploads
Find log folders and user upload folders with
du, then add rotation and size limits in the app.
Not applicable to the server
Shopify hosts the store for you, so you do not manage server disk. If uploads fail, check file size limits and your Files area in Settings instead.
Not applicable to the server
Wix manages the servers. If uploads fail, check your storage quota in the Media Manager and your plan limits.
How to confirm it's fixed
df -handdf -ishow comfortable free space (aim for at least 20% free)- Upload a test image through your site's admin
- Submit your real contact form and check that the email arrives and the entry is saved
- Add a product to the cart and move between pages without it emptying
- The error log shows no new
No space left on devicelines - Your database service is running and accepting writes
How to prevent it happening again
Month 1
Logs and backups start growing with no rotation
Month 4
Disk passes 90%. Nothing looks wrong to visitors
Month 5
Disk hits 100%. Uploads, sessions and forms start failing
Weeks later
Someone notices the drop in leads, or a customer complains
- Set an alert at 80% disk usage and another at 90% in your host or monitoring tool
- Configure logrotate for web server, PHP and app logs
- Store backups off the server and delete old ones automatically
- Clean up expired PHP sessions (most distros do this by default, check yours)
- Review disk usage monthly, and before big campaigns or imports
- Keep staging sites and old copies off the production disk
How FunnelGuard handles this
FunnelGuard detects this issue only partly. It does not read your server's disk, so it cannot tell you that the disk is 92% full or warn you early. It only sees the effect: when a full disk makes a journey step fail, such as a form submission that errors, a button that does nothing or a checkout step that breaks, the step shows up as failed.
When that happens, FunnelGuard re-checks from a second region, then sends one alert (email, Slack, Teams, WhatsApp, webhook or PagerDuty) with a screenshot and a likely cause. It will not name a full disk as the cause for certain, because many things produce the same failed step.
Frequently asked questions
Questions people ask
Why are my uploads failing with no error?
A full disk or exceeded quota is a common cause. The server cannot write the uploaded file, so the upload stops. Run df -h and df -i, or check your host's disk usage page, and also rule out file size limits such as upload_max_filesize.
How do I check disk space on my web server?
Connect over SSH and run df -h to see free space and df -i to see free inodes. Then use du -xh / --max-depth=2 | sort -rh | head to find the biggest folders. On shared hosting, use the disk usage tool in your control panel.
What does 'No space left on device' mean?
It means the server cannot write any more data because the disk is out of space or out of inodes (file entries). Free up space or inodes by removing old logs, backups, cache and session files, or add more storage.
Can a full disk make my cart or login reset?
Yes. If sessions are stored as files on disk, a full disk stops new session files being created or updated. Visitors then appear logged out or lose their cart between pages.
Why is my disk full but df shows free space?
You may have run out of inodes rather than bytes. Run df -i to check. Millions of tiny session or cache files can use every inode while leaving space free. Delete the old small files to recover.
Is it safe to delete log files to free space?
Usually yes, but empty them with truncate -s 0 rather than deleting a file a service still has open, and keep recent logs if you need them for debugging. Never delete database data files.
Can FunnelGuard tell me my server disk is full?
Not directly. FunnelGuard does not read server disk usage. It detects the effect, when a form, button or checkout step fails, and alerts you with a screenshot and a likely cause. Use a disk alert from your host for early warning.
Related issues
- OPS-088Session storage broken (cart empties between pages)Fix guide
- OPS-086Large uploads rejected (upload_max_filesize)Fix guide
- OPS-073Memory / PHP memory_limit exhausted (white screen)Fix guide
- OPS-075Database connection errors ('Error establishing a database connection')Fix guide
- OPS-080Cron / scheduled tasks not running (emails, abandoned cart)Fix guide
- OPS-084Error display on (PHP warnings shown to visitors)Fix guide