Loading...
 
Features / Usability

Features / Usability


Deleting Files / Performance Fix

posts: 84 Singapore

I have a problem. My own tw site is working fine on a trusted web host. However, my test tw sites are on a web host which gives very little storage space. And I still don't know how to create a multiTiki through the given cpanel. frown

Now, my tw sites are crawling, perhaps because of the limited storage space. Which files can I delete to free up space? Language, styles, templates... ? confused

Alternatively, are there some performance fixes that I can apply? question

posts: 1092
  • You can clean the caches (admin->System/admin). But they will be recreated when needed
  • You can delete some files for feature you don't use. For instance the directory lib/galaxia if you don't use the workflow
  • You can delete all the language files from language you don't use. For instance, if you don't use the French delete lang/fr/language.php (see the association fr with French in lng/langmapping.php)
  • you can delete the styles, for instance for codex styles/codex.css and templates/styles/codex/*

  • For performace boost, if you use mysql and if you can have a slow queries log , you can add some indexes. Also don't use to many modules as last_modified_pages ... They are ressource consumming


sylvie


posts: 104

> I have a problem. My own tw site is working fine on a trusted web host. However, my test tw sites are on a web host which gives very little storage space. And I still don't know how to create a multiTiki through the given cpanel. frown
>
> Now, my tw sites are crawling, perhaps because of the limited storage space. Which files can I delete to free up space? Language, styles, templates... ? confused
>
Delete the styles your are not using,
and the avatar image files.

TikiWiki has the problem, that there are thousands of small files, just a few hundred bytes big (e.g. 400 bytes etc.). However the provider's storage you are paying for is counted in real-blocks taken by the files. Therefore if the block-size is 4k (standard) or your 400 Byte file will count as 4kB or even 8kB (at providers using some RAID systems). It's not much for a single file, but in summary its about 30MB

This way, your packed 3MB TikiWiki will easily grow to to bigger installation as necessary....

Best regards - Bernhard


posts: 84 Singapore

Thanks, Sylvie and Bernhard, for your tips.

I tried to clear cache and got this error message:

"Warning: file(db/tiki-1.9.2-mysql.sql): failed to open stream: No such file or directory in /home/.../public_html/tiki/lib/admin/adminlib.php on line 416

Warning: Invalid argument supplied for foreach() in /home/.../public_html/tiki/lib/admin/adminlib.php on line 418"

What should I do here? question