inode usage is 100%. How to check whats using inode?
Moderator: Staff
inode usage is 100%. How to check whats using inode?
df -i command shows inode usage is 100% on my centos server. How to check whats using inode?
cPanel Server Management
@ 30$ Onwards
@ 30$ Onwards
Re: inode usage is 100%. How to check whats using inode?
Hello,
Run the below command on your server to check the inode usage.
=======
Command :
echo "Inode 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"
=======
Example :
Inode usage for: /home/user/public_html
1 - dump
525 - wp-admin
44425 - wp-content
805 - wp-includes
Inode usage is high on 'wp-content' so run the same command inside wp-content directory. This will help us finding out which directory is having high inode usage.
=============================
Martin
Linux Support Engineer.
Nixtree Solutions
Managed Full Server Backups
https://www.nixtree.com/managed-backups.php
Follow us on : https://twitter.com/nixtree
Run the below command on your server to check the inode usage.
=======
Command :
echo "Inode 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"
=======
Example :
Inode usage for: /home/user/public_html
1 - dump
525 - wp-admin
44425 - wp-content
805 - wp-includes
Inode usage is high on 'wp-content' so run the same command inside wp-content directory. This will help us finding out which directory is having high inode usage.
=============================
Martin
Linux Support Engineer.
Nixtree Solutions
Managed Full Server Backups
https://www.nixtree.com/managed-backups.php
Follow us on : https://twitter.com/nixtree