Bill Peschel had to go rooting, so to speak, around his Web site:
I had received an email from HostGator telling me that they couldn’t back up PlanetPeschel because of “inode,” which was about as unhelpful a message as one could get.
Fortunately, HostGator had a page explaining what the heck inode means. In plain English, I have too many files on my shared hosting. More than a 100,000 of them. They don’t mind my having them, they said, they’re just not going to back up all of them. And if you get to 250,000, they warned me, I’ll have to pay them and make some changes.
(Shared hosting, if I remember right, means my website’s on a server with a bunch of other sites.)
This is indeed what shared hosting is. I have it. I have five sites on that machine, but I’m not alone.
Anyway, this surprised me. I’ve got a lot of files on Planetpeschel, but 100K?
Depending on what the cache has done lately, I have somewhere around 25,000 files.
I have a different backup issue. On my WordPress installs, a plugin called wp-db-backup gzips up the database and emails me a copy once a week — except here. The issue is that this database is freaking huge: on the order of 75 megabytes. Doesn’t sound like a lot for nearly 20,000 posts and about two and a half comments per, but the catch is that gzip brings it down to 21 or 22 MB — and the host’s email facility won’t handle anything in excess of 20 MB. Workaround: while I’m not working on the site, I set the backup to run manually, and drop the resulting gzipped file on my desktop.
Bill’s excess-files problem, however, isn’t related to this at all:
I have a plug-in on WordPress called Autoptimize, which saves bits and pieces of the site to call them up quickly. Turns out my settings told it to save a lot of files. Like, 65,000 of them.
Once I got rid of them, HostGator thanked me and said they’ll back up my site next week. Everyone’s happy (except me; I had to put a note down on my calendar a week from now to check my inodes and see if they’re swelling again).
I hadn’t heard of this plugin, so I went looking:
Autoptimize makes optimizing your site really easy. It concatenates all scripts and styles, minifies and compresses them, adds expires headers, caches them, and moves styles to the page head and can move scripts to the footer. It also minifies the HTML code itself, making your page really lightweight. There are advanced options and an extensive API available to enable you to tailor Autoptimize to each and every site’s specific needs.
Which sounds nice. Then there’s this:
If you consider performance important, you really should use a caching-plugin such as e.g. WP Super Cache or HyperCache to complement Autoptimize.
Hmmm. I went straight to the caching program, myself. It saves bigger pages — full-fledged HTML static pages — but a lot fewer of them.