Have a Question?

If you have any question you can ask below or enter what you are looking for!

Large Error Log Files Consuming Your Disk Space

Your hosting account suddenly shows massive disk usage, but you can’t find what’s taking up the space. The culprit? A bloated error log file hiding in your site’s root directory.

What’s Happening

Websites generate error logs to record problems—PHP errors, plugin issues, theme conflicts, etc. Normally these files stay small. But if your site has persistent errors, the log can grow to several gigabytes without you realizing it, consuming most of your account’s storage.

Signs You Have This Problem

  • Your account shows far more disk usage than expected
  • File manager searches point to backup folders, but deleting them doesn’t free up space
  • The actual storage being consumed doesn’t match what you can see in folders

Find and Fix It

1. Look for the error log Navigate to your website’s public web directory (usually public_html) and look for a file named error_log or similar (it might also be error.log or php_error.log).

2. Check the file size If the file is several hundred megabytes or larger, that’s your culprit.

3. Delete it If your site isn’t actively being debugged, delete the error log file. You can always recreate it later if needed.

4. Verify the storage freed up Check your account’s disk usage again. It should drop significantly once the log is removed.

If It Grows Back

If the error log quickly becomes huge again, something is continuously generating errors. This could be:

  • A broken plugin or theme
  • PHP code with issues
  • A CMS or application problem
  • Misconfigured settings

Next step: Review your site for errors, disable recently added plugins, or check application logs to find what’s causing the problem. Contact support if you need help tracking down the issue.


One file, lots of space. Error logs are helpful for debugging, but when they go unchecked, they can tank your storage.