Knowledge Base
Exceeded Disk Space or Bandwidth
Resource Limit Exceeded
If you've exceeded your disk space or bandwidth limits, your website may become unavailable or show errors.
Check Your Usage
In DirectAdmin:
- Log into your account
- View the usage statistics on the main page
- Check Disk Usage and Bandwidth
Disk Space Solutions
1. Delete Unnecessary Files
- Old backups
- Log files
- Unused themes and plugins
- Email attachments
2. Clean Email Accounts
Emails often use significant space:
- Go to E-Mail Accounts
- Check quota usage per account
- Delete old emails or empty Spam/Trash
3. Optimize Database
In DirectAdmin → MySQL Management:
- Select your database
- Click on tables to see sizes
- Optimize large tables
4. Remove Old Backups
Check for backup files:
- .zip, .tar.gz, .sql files in public_html
- JetBackup local copies (if enabled)
Bandwidth Solutions
1. Optimize Images
Large images consume bandwidth quickly:
- Compress images
- Use proper dimensions
- Implement lazy loading
2. Enable Caching
Caching reduces server requests:
- Use browser caching via .htaccess
- Install caching plugin (WordPress)
3. Block Hotlinking
Prevent others from using your images. Add to .htaccess:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http(s)?://(www.)?yourdomain.com [NC]
RewriteRule .(jpg|jpeg|png|gif)$ - [NC,F,L]
Need More Resources?
If you consistently exceed limits, consider upgrading your hosting plan for more disk space and bandwidth.