WHM temp inode usage
How to check the Inode usage for an account in cPanel server?
Disk Usage Vs. Inodes Usage - How to display inode usage in cPanel
We can enable inode usage for cPanel through WHM
First Login to
WHM Control Panel.
WHM >> Server Configuration >> Tweak Settings >>
Display File Usage information in the cPanel stats bar (inode count)
Search with term inode and click
On button to enable inode count and click
Save button.
Now you can see the File Usage stat as shown in the screenshot below which is the Inode usage of your account.
Every time a file is opened, the files inode is read by the kernel of the server.
The more files/folders you have, the more inodes you use. And the more inodes you use, the more system resources your account consumes.
First of all, let me briefly explain about Inode. Index Node (inode) is a basic concept in Linux/Unix. Index node/number (inode) is a data structure which contain the information about a file in your server/hosting account.
Inode save the information such as user and group ownerships, access mode (read, write, execute permissions) and file type.
Number of inodes indicates the number of files and folders in your account. Every file like a webpage, image file, an email, cache file etc will count as 1 inode.
100% Inode usage
If your account has reached/exceeded the Inode usage and youre not sure about the reason for this. Dont worry. Heres the solution for this! If the account has reached the maximum inodes allocated for your account then itll affect your account, website and email performance.
You wont be able to send/receive new emails, you wont be able to upload a new file to your account. Hence itll affect the total performance of your account.
How to know whats eating up the inodes?
If you have SSH access to your account the following commands will help you to understand the inode usage in your hosting account.
Check from SSH Login.
Check inodes usage
How to reduce Inode usage in your account?
Herere some suggestions to reduce the inode usage in your account.
:
/usr/sbin/tmpwatch -am 12 /tmp
This will delete all files over 12 hours old. Next, we will configure your server to do this automatically.
1. Remove all unnecessary files and folders from your account.
Using FileManager you can remove unnecessary files/folders from your account.If you have the backups stored in your root directory, that is /home/user; you can download it to your local machine using FTP or FileManager.
2. Remove cache files
Certain CMS like Joomla will store lot of cached files which are used to improve the performance of your website. If therere large amount of cache files, you can use the purge functionality to clear the cache folders. This can be done via administrator panel.
3. Archive your emails
Emails will also add inode to your account. If youre storing all emails in the server which you think as important emails you can archive emails like emails which are older than 6 months and you can download it your local machine.
If you have enabled Default Address (catch all) for your account, you should regularly check the mailbox and clear all the unwanted emails. You need to delete all the unusing email accounts. Also you should check your email accounts and need to delete spam emails.
4. Other usage
If your account still uses large number of files you can take a look at the Disk Usage from cPanel.
cPanel >> Files >> Disk Space Usage
This will give you the information regarding the disk used by your account.
:
https://blog.hostonnet.com/how-to-di...sage-in-cpanel
https://www.crybit.com/inode-usage-f...-cpanel-server
https://manage.accuwebhosting.com/kn...mand-line.html