{"id":1309,"date":"2019-05-22T13:19:48","date_gmt":"2019-05-22T13:19:48","guid":{"rendered":"https:\/\/chemicloud.com\/kb\/?post_type=article&#038;p=1309"},"modified":"2024-09-17T09:17:57","modified_gmt":"2024-09-17T09:17:57","slug":"check-inodes-cpanel","status":"publish","type":"ht_kb","link":"https:\/\/chemicloud.com\/kb\/article\/check-inodes-cpanel\/","title":{"rendered":"How to Check the Number of Inodes in cPanel"},"content":{"rendered":"<p>This tutorial will teach us about inodes and how to check the number of inodes via your cPanel.<\/p>\n<h3 id=\"what-is-an-inode\">What is an \u201cinode\u201d?<\/h3>\n<p>In simple words, each <a href=\"https:\/\/chemicloud.com\/glossary\/term\/inode\/\" target=\"_blank\" rel=\"noopener\">inode<\/a> usually equals one file, folder, email, or Unix object in a file system. The number of inodes on your account equals the number of files and folders you have on it.<\/p>\n<p>We have a set inodes limit for our shared hosting services to maintain the best performance for our file system. The limits are the following:<\/p>\n<p><strong><a href=\"https:\/\/chemicloud.com\/web-hosting\" target=\"_blank\" rel=\"noopener\">Shared Hosting<\/a> <\/strong>and<strong> <a href=\"https:\/\/chemicloud.com\/wordpress-hosting\" target=\"_blank\" rel=\"noopener\">WordPress Hosting <\/a><\/strong>plans:<\/p>\n<p>1. Starter\u00a0 \u2013 maximum 250,000 inodes<br \/>\n2. Pro\u00a0 \u2013 maximum 350,000 inodes<br \/>\n3. Turbo \u2013 maximum 500,000 inodes<\/p>\n<p>Are you running on a Turbo plan and requiring more inodes? We&#8217;ve got you covered!<\/p>\n<p>Our <a href=\"https:\/\/chemicloud.com\/add-ons\/\" target=\"_blank\" rel=\"noopener\">disk space add-on<\/a> allows you to quickly increase your Turbo hosting plan&#8217;s storage space by an additional 20 GB. Bonus: you&#8217;ll receive 200 000 additional inodes.<\/p>\n<p><a href=\"https:\/\/chemicloud.com\/reseller-hosting\" target=\"_blank\" rel=\"noopener\"><strong>Reseller Hosting<\/strong><\/a>\u00a0plans:<\/p>\n<p>1. Kickstart \u2013 maximum 250,000 inodes<br \/>\n2. Grow \u2013 \u00a0maximum 250,000 inodes<br \/>\n3. Expand \u2013 maximum 250,000 inodes<br \/>\n4. Established \u2013 maximum 250,000 inodes<\/p>\n<p>Your website or email service will be affected if the above limits are reached. Your site will display a <strong>503 error<\/strong>, and the emails might not be delivered and sent. <span style=\"text-decoration: underline;\">New files might not be uploaded<\/span>.<\/p>\n<h3 id=\"how-to-check-the-number-of-inodes-in-cpanel\">How to check the number of inodes in cPanel<\/h3>\n<p>You can check the number of inodes in cPanel in the following ways:<\/p>\n<p>If you are a <a href=\"https:\/\/chemicloud.com\/?utm_source=kb&amp;utm_medium=article#60b65e4e63b58\" target=\"_blank\" rel=\"noopener\">ChemiCloud<\/a> customer, our custom Inode Usage plugin has you covered. If you are not a ChemiCloud customer, please scroll down the page to find an alternative solution.<\/p>\n<h4 id=\"chemicloud-customers\">ChemiCloud customers:<\/h4>\n<p><strong>1)<\/strong>\u00a0Log into cPanel<\/p>\n<p><strong>2)\u00a0\u00a0<\/strong>To see the general\u00a0<b>Inodes Usage<\/b>, move to the <b>Statistics<\/b> section on your right-hand side:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-7617\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2019\/05\/cPanel-Statistics-Inodes-783x233.png\" alt=\" Check Inodes in cPanel\" width=\"643\" height=\"191\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2019\/05\/cPanel-Statistics-Inodes-783x233.png 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2019\/05\/cPanel-Statistics-Inodes-300x89.png 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2019\/05\/cPanel-Statistics-Inodes-768x229.png 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2019\/05\/cPanel-Statistics-Inodes-50x15.png 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2019\/05\/cPanel-Statistics-Inodes-1536x457.png 1536w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2019\/05\/cPanel-Statistics-Inodes-2048x610.png 2048w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2019\/05\/cPanel-Statistics-Inodes-60x18.png 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2019\/05\/cPanel-Statistics-Inodes-100x30.png 100w\" sizes=\"auto, (max-width: 643px) 100vw, 643px\" \/><\/p>\n<p>3) If you wish to see detailed statistics, navigate to the <strong><em>Files<\/em><\/strong> area and click on <strong>Inode Usage<\/strong>.<\/p>\n<p>The Inode Usage tool provides an overview of inode consumption in your account. It displays total inodes used, breaks down usage by directory, and allows you to expand directories for detailed inode counts.<\/p>\n<p><a href=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2019\/05\/Inode-Usage.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-8216\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2019\/05\/Inode-Usage-783x187.png\" alt=\"\" width=\"643\" height=\"154\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2019\/05\/Inode-Usage-783x187.png 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2019\/05\/Inode-Usage-300x72.png 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2019\/05\/Inode-Usage-768x183.png 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2019\/05\/Inode-Usage-50x12.png 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2019\/05\/Inode-Usage-1536x367.png 1536w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2019\/05\/Inode-Usage-2048x489.png 2048w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2019\/05\/Inode-Usage-60x14.png 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2019\/05\/Inode-Usage-100x24.png 100w\" sizes=\"auto, (max-width: 643px) 100vw, 643px\" \/><\/a><\/p>\n<p>Additionally, on this page you can see your cPanel account inode limit and directly access File Manager for quick navigation, helping you manage your quota effectively.<\/p>\n<h4 id=\"non-chemicloud-customers\">Non-ChemiCloud customers:<\/h4>\n<p><strong>1)\u00a0<\/strong>Log into cPanel<\/p>\n<p><strong>2)\u00a0\u00a0<\/strong>To see the general\u00a0<b>Inodes Usage<\/b>, move to the <b>Statistics<\/b> section on your right-hand side:<\/p>\n<figure id=\"attachment_7617\" aria-describedby=\"caption-attachment-7617\" style=\"width: 643px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-7617\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2019\/05\/cPanel-Statistics-Inodes-783x233.png\" alt=\" Check Inodes in cPanel\" width=\"643\" height=\"191\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2019\/05\/cPanel-Statistics-Inodes-783x233.png 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2019\/05\/cPanel-Statistics-Inodes-300x89.png 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2019\/05\/cPanel-Statistics-Inodes-768x229.png 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2019\/05\/cPanel-Statistics-Inodes-50x15.png 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2019\/05\/cPanel-Statistics-Inodes-1536x457.png 1536w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2019\/05\/cPanel-Statistics-Inodes-2048x610.png 2048w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2019\/05\/cPanel-Statistics-Inodes-60x18.png 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2019\/05\/cPanel-Statistics-Inodes-100x30.png 100w\" sizes=\"auto, (max-width: 643px) 100vw, 643px\" \/><figcaption id=\"caption-attachment-7617\" class=\"wp-caption-text\">cPanel &gt; Statistics &gt; Inodes<\/figcaption><\/figure>\n<p><strong>3)<\/strong> If you wish to see detailed statistics, navigate to the\u00a0<b>Advanced<\/b>\u00a0area and click on <strong>Terminal.<\/strong><\/p>\n<figure id=\"attachment_7618\" aria-describedby=\"caption-attachment-7618\" style=\"width: 643px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-7618\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2019\/05\/cPanel-Advanced-Terminal-783x244.png\" alt=\"Terminal in cPanel\" width=\"643\" height=\"200\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2019\/05\/cPanel-Advanced-Terminal-783x244.png 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2019\/05\/cPanel-Advanced-Terminal-300x94.png 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2019\/05\/cPanel-Advanced-Terminal-768x240.png 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2019\/05\/cPanel-Advanced-Terminal-50x16.png 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2019\/05\/cPanel-Advanced-Terminal-1536x479.png 1536w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2019\/05\/cPanel-Advanced-Terminal-60x19.png 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2019\/05\/cPanel-Advanced-Terminal-100x31.png 100w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2019\/05\/cPanel-Advanced-Terminal.png 1750w\" sizes=\"auto, (max-width: 643px) 100vw, 643px\" \/><figcaption id=\"caption-attachment-7618\" class=\"wp-caption-text\">cPanel &gt; Advanced &gt; Terminal<\/figcaption><\/figure>\n<p>This interface provides command-line access to your account on the server. The terminal will default log you inside your account&#8217;s home directory (above public_html).<\/p>\n<p><strong>4) <\/strong>To get a list of the inodes usage for every directory in the directory you are currently in, execute the following command:<\/p>\n<pre><code> echo \"Detailed Inodes usage for: $(pwd)\" ; for d in `find -maxdepth 1 -type d |cut -d\\\/ -f2 |grep -xv . |sort`; do c=$(find $d |wc -l) ; printf \"$c\\t\\t- $d\\n\" ; done ; printf \"Total: \\t\\t$(find $(pwd) | wc -l)\\n\"<\/code><\/pre>\n<p>This command will display the number of inodes in the left column and the corresponding folder on the right, as in the example below:<\/p>\n<pre>Detailed Inodes usage for: \/home\/cchostingdemos\r\n12401 - public_html\r\n6 - blestadata\r\n12 - blestadatafasdad\r\n623 - .cache<\/pre>\n<p>As per the example above, the highest number of inodes comes from the public_html directory.<\/p>\n<p>To browse to the public_html directory from your terminal, execute the following command:<\/p>\n<pre><code> cd public_html <\/code><\/pre>\n<p>The next step is to execute the command again from Step <strong>4).\u00a0<\/strong><\/p>\n    \t\t<div class=\"hts-messages hts-messages--info    \"   >\r\n    \t\t\t    \t\t\t    \t\t\t\t<p>\r\n    \t\t\t\t\tWe&#8217;ve developed a free cPanel plugin so that anyone managing a server with cPanel can easily provide a detailed inode usage breakdown for every cPanel user. Learn more and get started by checking out this <a href=\"https:\/\/chemicloud.com\/blog\/cpanel-inode-usage\/\" target=\"_new\" rel=\"noopener\">inode usage<\/a> article!    \t\t\t\t<\/p>\r\n    \t\t\t    \t\t\t\r\n    \t\t<\/div><!-- \/.ht-shortcodes-messages -->\r\n    \t\t\n<h3 id=\"how-to-reduce-the-inodes-usage\">How to reduce the inodes usage<\/h3>\n<p><b>1) Delete Unnecessary Files And Folders<\/b><\/p>\n<p>Based on your inodes usage audit, consider removing unnecessary files and folders. For example, if a specific file or folder stores old backups or is created for testing or staging purposes, you may remove it or download it locally via FTP.<\/p>\n<p><b>2) Clear Old And Spam Emails<\/b><\/p>\n<p>If the inodes usage is related to the mail folder, you have a high number of emails. So, in this case, removing old emails will help decrease the inodes usage. If you are using cPanel as the control panel, you can take advantage of the <a href=\"https:\/\/chemicloud.com\/kb\/article\/how-to-use-email-disk-usage-in-cpanel\/\" target=\"_blank\" rel=\"noopener noreferrer\">Email Disk Usage<\/a> feature, which will help remove emails based on specific criteria. If you prefer to do it manually, you can do so from your Webmail or preferred mail client.<\/p>\n<p><b>3) Clear The\u00a0 Cache Files<\/b><\/p>\n<p>Major CMS, such as WordPress, Joomla, etc., use a caching system that may create cache files. So it&#8217;s recommended to keep an eye on the cache folders and to clear\/purge the cache from time to time.<\/p>\n<h3 id=\"conclusion\">Conclusion<\/h3>\n<p>That&#8217;s it; now you know how to check the number of inodes in cPanel and get a detailed report on the usage. Based on this, you can take the necessary measures and reduce the number of inodes.<\/p>\n<p>If removing files from your account is not an option, you can upgrade your plan to a higher one with higher inode limits or consider purchasing a <a href=\"https:\/\/chemicloud.com\/vps-hosting#60b65e4e63b58\" target=\"_blank\" rel=\"noopener\">VPS Hosting<\/a> service where we don&#8217;t count the number of inodes.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This tutorial will teach us about inodes and how to check the number of inodes via your cPanel. What is an \u201cinode\u201d? In simple words, each inode usually equals one file, folder, email, or Unix object in a file system. The number of inodes on your account equals the number&#8230;<\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"_crdt_document":"","footnotes":""},"ht-kb-category":[36],"ht-kb-tag":[],"class_list":["post-1309","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-cpanel"],"_links":{"self":[{"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb\/1309","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/comments?post=1309"}],"version-history":[{"count":17,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb\/1309\/revisions"}],"predecessor-version":[{"id":8246,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb\/1309\/revisions\/8246"}],"wp:attachment":[{"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/media?parent=1309"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb-category?post=1309"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb-tag?post=1309"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}