Don't Miss

iNodes count for your website

By on January 23, 2017

What is an “inode”?

An inode is a record in a disk table, which contains information about a file or folder such as its size, owner, device node, socket, pipe, etc., except data content and file name. The number of inodes on your account equals the number of files and folders you have on it.

Did research I could on the subject, most references I found on the web were in reference to Hostgator, who also has a 50k limit.

Hostgator Users Beware, This Could Effect You

Although wordpress is more processor intensive than static html, which becomes a bigger problem, the more traffic you get, inodes just seems to be a file count, wordpress sites may not be that much different from a static site. The biggest cause may be forgotten email accounts that might have their 500 or so message limit in spam adding to the count.

Apparently wordpress caches, while useful in lowing cpu loading, slightly increase inode count. I’m guessing your main opportunity for cutting the fat is unused themes, some auto installations give you a bunch, jsut dig into the wordpress content folder of your ftp account and toss out theme folders not i use. You can do the same for few unused plugins.

There might be cases that are running many wordpress blogs where the multi user mode might cut down inodes, I’m not up to speed with how they have merged multi user into the standard wordpress.

Here are a few discussions talking about inode economizing in general.

Here’s a 2008 excerpt from “another” forum, showing an inode counting script:

I now use a PHP file to show the iNodes on my HostGater account, all that is required is copy & paste below to notepad and save as (inode.php or what ever you want), and upload to the root folder of your account in public_html

Then use a web browser to go to the file and the iNodes count will be displayed
For example: www.yoursite.com/inode.php

Code:

or this one for more details

Code:

“;
system(‘pwd’);
echo “: “;
system(‘find . | wc -l’);
echo ” inodes
n“;
system(‘cd ~/public_html; pwd’);
echo “
: “;
system(‘cd ~/public_html; find . | wc -l’);
echo ” inodes
n“;
system(‘cd ~; pwd’);
echo “
: “;
system(‘cd ~; find . | wc -l’);
echo ” inodes”;
?>

About jonboy60

Contact Me for computer repair services, mobile repair services, website repair services, website maintenance, creating website, domain name, hosting services, career opportunities, business offers, Linux solutions for business or home, web and email server solutions, Linux consulting, wordpress web consulting & development and expertise requests. Currently reside in Rawang, Selangor. Email to me on jonboy60{@}gmail.com

Leave a Reply

Your email address will not be published. Required fields are marked *