I’m using Piwik 1.6, and whenever I try and use it, it is incredibly slow and unresponsive. Most of the time none of the dashboard even loads, it just says “Loading Data…”.
I’ve increased the memory_limit to 256M, and the max_input_time to 120 with no affect.
I turned on MySQL slow queries, and one query keeps coming up over and over:
Host is a private Linux box we have set up for development and testing. It’s on our internal network, and the web server that hosts the site I’m tracking is in the DMZ; that said, I’ve confirmed that the two are able to communicate via HTTP/HTTPS. Does Piwik need to communicate to other servers out on the Internet?
Specs:
Red Hat Enterprise Linux 6.1
Apache 2.2.15
MySQL 5.1.52
PHP 5.3.3
I don’t think I’m using any PHP Mods, it’s just a vanilla RHEL install. No PHP Accelerators. No third party Piwik plugins. Auto archiving is not enabled; this is the first time I’ve installed Piwik, and it’s a very low traffic site, so there should be very little data.
I’ve never used an older version of Piwik, this is my first time. I’m currently just trying it out as an alternative to Google Analytics.
I’ve tried re-installing Piwik after I deleted all files and database tables with no benefit.
I’ve upped the max_execution_time in php.ini to 120, and now instead of the “Loading Data…” I get “Loading widget, please wait…” for each widget on the main dashboard, and if I go to Visitors, it still displays the “Loading Data…” message. So really no change.
Not sure if this is a red herring or not, but if I look in Chrome developer tools while this is going on, I get a constant firing of scripting events for Index.php on line 834: