Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maximum CPU execution time exceeded during upgrade #7304

Closed
esthervanenckevort opened this issue Feb 26, 2015 · 4 comments
Closed

Maximum CPU execution time exceeded during upgrade #7304

esthervanenckevort opened this issue Feb 26, 2015 · 4 comments
Labels
duplicate For issues that already existed in our issue tracker and were reported previously. Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.

Comments

@esthervanenckevort
Copy link

I get the following error when I try the automatic update of Piwik to version 2.11.1:

is_dir(): Maximum cpu execution time of 15 seconds exceeded in /sites/vanenckevort.net/www/analytics/core/Filesystem.php 349 using PHP 5.4.16

After a refresh I get:

is_dir(): Maximum cpu execution time of 15 seconds exceeded in /sites/vanenckevort.net/www/analytics/vendor/piwik/decompress/libs/PclZip/pclzip.lib.php 5004 using PHP 5.4.16

I got the same error when I did the update from 2.10.x to 2.11.0, so this is something I have seen before. I am running Piwik on the TransIP (http://www.transip.nl/) hosting platform.

@mnapoli
Copy link
Contributor

mnapoli commented Feb 26, 2015

What is weird is that both time it was stuck on the is_dir() function, which makes not a lot of sense. Maybe you could try contacting your host about that, they maybe have a specific setup regarding the filesystem… In any case I don't think there is much we can do here, 15 seconds timeout is really low, and I'm pretty sure we try to disable the timeout anyway for the upgrade.

Actually I did a quick search and yes we do: https://github.com/piwik/piwik/blob/master/plugins/CoreUpdater/Controller.php#L306-306

@esthervanenckevort
Copy link
Author

The hosting provider says that they have disabled changing the timeout and suggest to split up the process in several separate steps. I don't know if this would be possible.

The hosting provider claims to use SSD only on the hosting platform, which might still be considered non-standard, but should be faster than normal disks.

@mattab
Copy link
Member

mattab commented Apr 8, 2015

Thanks for the report. Unfortunately there's not much we can do about this. If anyone else experience the issue please leave a comment

@mattab mattab added the Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change. label Apr 8, 2015
@mattab mattab added this to the Long term milestone Apr 8, 2015
@mattab
Copy link
Member

mattab commented Sep 15, 2015

This is what we could do about it: Piwik updater: Add support for delta updates #8327

@mattab mattab closed this as completed Sep 15, 2015
@mattab mattab added the duplicate For issues that already existed in our issue tracker and were reported previously. label Sep 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate For issues that already existed in our issue tracker and were reported previously. Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.
Projects
None yet
Development

No branches or pull requests

3 participants