Page MenuHomePhabricator

"Maximum execution time" error in JavaScriptMinifier while minifying QUnit test modules
Closed, ResolvedPublic


It might possible to make this less likely by grouping them into smaller requests.

The request is:*

The error response is:

Fatal error: Maximum execution time of 30 seconds exceeded in /vagrant/mediawiki/includes/libs/JavaScriptMinifier.php on line 428

Call Stack:

0.0021     656184   1. {main}() /vagrant/mediawiki/load.php:0
0.2177   10838400   2. ResourceLoader->respond() /vagrant/mediawiki/load.php:43
0.4901   11686616   3. ResourceLoader->makeModuleResponse() /vagrant/mediawiki/includes/resourceloader/ResourceLoader.php:543
2.1315   19034048   4. ResourceLoader->filter() /vagrant/mediawiki/includes/resourceloader/ResourceLoader.php:923
2.1480   19272904   5. JavaScriptMinifier::minify() /vagrant/mediawiki/includes/resourceloader/ResourceLoader.php:181

Version: unspecified
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:42 AM
bzimport set Reference to bz67383.
bzimport added a subscriber: Unknown Object (MLST).
Krinkle set Security to None.

I'm hitting this issue now in my local vagrant - this really shouldn't be taking 30 seconds to load should it even if it's a big file..?

This might be improved by enabling fsc caching for the VM: vagrant config nfs_cache yes; vagrant reload

@dduvall and I would love feedback from power users on the pros/cons of using the fsc nfs cache.

Krinkle claimed this task.