@simonmilz opened this Issue on April 10th 2017

Hi guys,

I just installed Piwik on a fresh Ubuntu 14.04 VM. Installation works fine, everything was easy peasy. But the UI is extremly slow. As you can see in the image getCoreJs call takes over 1 minute.

getcorejs

OS: Ubuntu 14.04
Piwik: 3.0.3
PHP: 7.1 (tested everything also with 5.x)
Sessions: dbtable

Anyone have an idea what this is?

@Globulopolis commented on April 10th 2017 Contributor

It's server error. See you apache or nginx logs for errors

@mattab commented on May 8th 2017 Member

Do you still experience this issue? Any error in your server log?

@lnicola commented on February 19th 2021

I'm seeing the same thing. Looks like it's hitting some quadratic or exponential behavior in getCoreJs:

image

Maximum execution time of 300 seconds exceeded in /srv/http/REDACTED/vendor/matomo-org/jshrink/src/JShrink/Minifier.php
@lnicola commented on February 19th 2021

As a quick workaround, you can comment out the $jshrink->minifyDirectToOutput($js, $options); call in Minifier.php.

This might be no longer needed in Matomo 4.

This Issue was closed on June 21st 2017
Powered by GitHub Issue Mirror