Loading...
 
Architecture / Installation

Architecture / Installation


Number of Files in an Installation

posts: 6

I have been running two TikiWiki installations for some time on my site. It is supposed to be an "unlimited" site, but JustHost actually restrict you using the number of files (they call them inodes, but they mean the number of files). My initial installations had about 9000 files in each wiki. Now, after several upgrades, I am up to 12000 files per installation and am blowing the limits for JustHost's (unlimited) hosting. Is there any way to install a version of TikiWiki and miss out some of the files? I do a clean install each time, so there should be nothing left over. Is there any way to clean out items based on what I am using or not? JustHost are now threatening to shut down my entire site due to the number of files, which means all the users of the wiki will lose all their access, too. Anything anyone can do to help would be useful.

I suppose I could try and migrate one of the wikis into the other one, but they currently have separate identities and are set up differently (one allows downloads for unregistered users while the other doesn't, for example). If there were a way of reducing the number of files, I could avoid this.

Any help would be appreciated.


posts: 6
Thanks for the advice, which was correct and not difficult to implement. I tried removing excess languages and themes, which does remove some files, but not loads. I already store all the files for the file galleries and wiki in the database, so that one was already off my list, unfortunately. The sad bit is that, though this saved me some files, as a percentage of the total, it wasn't actually very many. Does anyone else have any suggestions about how to reduce the number of files in the wiki set-up by a few thousand rather than a few? It doesn't matter about space usage, even if it increases it dramatically, as long as I decrease the number of files. JustHost who host my site work strictly on a "number of files" basis, regardless of the site, and they are happy for me to have a TikiWiki installation (they provide installation via Fantastico and suggest manual installations, too) but threaten shut down if you go over their magical number of files. They do have "unlimited" space usage, though.

posts: 4656 Japan

In my opinion, your host company shouldn't offer Tiki if they aren't prepared to accept the number of files in a Tiki installation. I don't think there is any reasonable way to significantly reduce the number of files; things have been added to Tiki with the premise that disk space is cheap and there's no particular file number limit at the server. So, for example, you get a bunch of external (not Tiki native) packages like the Zend framework and ezcomponents, jQuery, ckeditor, HTMLpurifier and so on in addition to the tons of native files that enable Tiki's functionality.

If you knew exactly what files are needed for the specific features you want to use, you could probably delete the others, but it would be pretty hard even for someone familiar with the code to sort these all out. I don't know of anything that can be dumped en masse, like a particular file directory, since probably everything is used at least a little or from time to time.

Really, the easiest solution is probably to switch to a host that doesn't have this unusual file number limitation.

I just noticed that you said you're running two Tiki installations. It's possible that you could just use one installation, and use the multi-domain and Perspectives features to have the appearance of two sites (depending on how they function, etc.). But these features aren't well documented yet and so could be tricky to set up.

-- Gary


Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting