{"id":1099,"date":"2026-04-03T17:18:02","date_gmt":"2026-04-03T17:18:02","guid":{"rendered":"https:\/\/www.jolt.co.uk\/help\/?p=1099"},"modified":"2026-04-05T21:48:44","modified_gmt":"2026-04-05T21:48:44","slug":"large-error-log-files-consuming-your-disk-space","status":"publish","type":"post","link":"https:\/\/www.jolt.co.uk\/help\/large-error-log-files-consuming-your-disk-space\/","title":{"rendered":"Large Error Log Files Consuming Your Disk Space"},"content":{"rendered":"\n<p>Your hosting account suddenly shows massive disk usage, but you can&#8217;t find what&#8217;s taking up the space. The culprit? A bloated error log file hiding in your site&#8217;s root directory.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What&#8217;s Happening<\/h2>\n\n\n\n<p>Websites generate error logs to record problems\u2014PHP 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&#8217;s storage.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Signs You Have This Problem<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Your account shows far more disk usage than expected<\/li>\n\n\n\n<li>File manager searches point to backup folders, but deleting them doesn&#8217;t free up space<\/li>\n\n\n\n<li>The actual storage being consumed doesn&#8217;t match what you can see in folders<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Find and Fix It<\/h2>\n\n\n\n<p><strong>1. Look for the error log<\/strong> Navigate to your website&#8217;s public web directory (usually <code>public_html<\/code>) and look for a file named <code>error_log<\/code> or similar (it might also be <code>error.log<\/code> or <code>php_error.log<\/code>).<\/p>\n\n\n\n<p><strong>2. Check the file size<\/strong> If the file is several hundred megabytes or larger, that&#8217;s your culprit.<\/p>\n\n\n\n<p><strong>3. Delete it<\/strong> If your site isn&#8217;t actively being debugged, delete the error log file. You can always recreate it later if needed.<\/p>\n\n\n\n<p><strong>4. Verify the storage freed up<\/strong> Check your account&#8217;s disk usage again. It should drop significantly once the log is removed.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">If It Grows Back<\/h2>\n\n\n\n<p>If the error log quickly becomes huge again, something is continuously generating errors. This could be:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A broken plugin or theme<\/li>\n\n\n\n<li>PHP code with issues<\/li>\n\n\n\n<li>A CMS or application problem<\/li>\n\n\n\n<li>Misconfigured settings<\/li>\n<\/ul>\n\n\n\n<p><strong>Next step:<\/strong> Review your site for errors, disable recently added plugins, or check application logs to find what&#8217;s causing the problem. Contact support if you need help tracking down the issue.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<p><strong>One file, lots of space.<\/strong> Error logs are helpful for debugging, but when they go unchecked, they can tank your storage.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Your hosting account suddenly shows massive disk usage, but you can&#8217;t find what&#8217;s taking up the space. The culprit? A bloated error log file hiding in your site&#8217;s root directory. What&#8217;s Happening Websites generate error logs to record problems\u2014PHP errors, plugin issues, theme conflicts, etc. Normally these files stay small.&hellip;<\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,12],"tags":[],"class_list":["post-1099","post","type-post","status-publish","format-standard","hentry","category-cpanel","category-domains"],"_links":{"self":[{"href":"https:\/\/www.jolt.co.uk\/help\/wp-json\/wp\/v2\/posts\/1099","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jolt.co.uk\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jolt.co.uk\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jolt.co.uk\/help\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jolt.co.uk\/help\/wp-json\/wp\/v2\/comments?post=1099"}],"version-history":[{"count":1,"href":"https:\/\/www.jolt.co.uk\/help\/wp-json\/wp\/v2\/posts\/1099\/revisions"}],"predecessor-version":[{"id":1100,"href":"https:\/\/www.jolt.co.uk\/help\/wp-json\/wp\/v2\/posts\/1099\/revisions\/1100"}],"wp:attachment":[{"href":"https:\/\/www.jolt.co.uk\/help\/wp-json\/wp\/v2\/media?parent=1099"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jolt.co.uk\/help\/wp-json\/wp\/v2\/categories?post=1099"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jolt.co.uk\/help\/wp-json\/wp\/v2\/tags?post=1099"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}