Loading...
 
Architecture / Installation

Architecture / Installation


6.2 runaway process on tiki-home.php and CPU usage

posts: 17

We've been struggling with our site running very slowly, CPU usage by the wiki, and throttling by Bluehost.
http://www.astrobetter.com/wiki/

We're trying to track down the problem and this is the feedback I've gotten:
"There are several instances of /home1/astrobet/public_html/wiki/tiki-index.php that have been running for more than 9 minutes each, and some are using upwards of 30% of the CPU core. I don't have any more detail than that, but something on the wiki index page is not terminating processes correctly."

We had the same problem in 4.2 and were hoping that the upgrade to 6.2 would fix it, but it hasn't. Any advice on how to reduce the CPU usage of Tiki 6.2 would be greatly appreciated.

We've already disabled the RSS plugin...are there any other plugins/features that are known to have high CPU usage? or that don't "terminate" reliably? Are there any logs that we should be looking at to narrow it down?

thanks for any advice!

posts: 17
I think I've found at least one big part of the problem: wiki/tiki-pagehistory.php. Is this used every time someone looks at the page history of a page? Are there caching options for this? We have one page on our site that has a very popular change history...is there way to auto generate the page-history into a static page every ~30 min so that this script doesn't run so often?