(2012-03-01) Bluehost Too Many Moin Files

Notice that Blue Host is warning me in C Panel that I have too many files again. Like 2011-04-26-[[Blue HostTooManyMoinFiles]]. Currently have 196,583.

Hrm, my old notes don't tell me how I figured out many files were in each directory...

  • the links I've found just tell you the total for the current (or a single other) directory.
    • using find . | wc -l in the wiki-data directory gives 190k.
    • using find . -type f | cut -d "/" -f 2 | sort | uniq -c | sort -n gives me a 1-level list with 111343 for wiki subdirectory (which is this WikiLog). Total is just a little higher than that. Dropping the -type f gives me 185k for that same directory, which I think ties more to what they look at - MoinMoin creates a directory for each page.
      • digging down into wiki: data has 149k. Then pages has 148k. Then the biggest is z2011(2d)08(2d)12(2d)BootcampForPcGames with just 61! Doing ls | wc -l tells me there are 25k directories (pages) there (many of those are MoinMoin docs I suspect...). Crud, may really need to compress the wiki history.

More details on that maint_reducewiki method.


Edited:    |       |    Search Twitter for discussion

No twinpages!