Help understanding inode usage

I had a site running kirby 3 (though this seems like its a 4-5 thing also in my test builds of other site ideas), and on my web host the inode usage was showing as ~19,000. I pulled down the site over FTP to look at the actual file count and it was around 10,900. So I have a couple questions, can you help me understand the difference in how inodes are counted, and also help me understand why the site has about 5000 more files than an empty site? That site has about 24 pages, with about 10-15 photos on each. Does 5000 files sound right? Just want to make sure I’m not doing something wrong in my configuration as my host has a file limit-

  • even if your content folder is small there will be lots of files from Kirbys sourcode itself and it dependencies
  • kirby creates a media folder that has a copy of each image and a handfull of files to create or are already thumbs. i would guess about: 24 x 10 x 10 = 2,400
  • cache files for pages, plugins and uuids have files and folders.
  • not only files but each folder needs one inode as well. a few thousands in your case.

so 19k inodes seems reasonable to me.