Problem/Motivation

The recent changes in Drupal 7.33 make every page catastrophically slow (10-20 seconds load time) by exposing an error in version 1.4 of imagecache_canvasactions module. Although the error has been fixed in 1.x-dev since January 2014, there is as yet no release which includes the fix, and therefore any site using the recommended version of this module must almost certainly be unacceptably slow.

The commit in 7.33 that exposes the error: http://cgit.drupalcode.org/drupal/commit/?h=7.x&id=c95d72521d31ff2ae4f84...

The error in 1.4 of imagecache_actions module: #2166715: Typo causes extra query every page load

Proposed resolution

Create a release that includes the fix for this issue.

Original report by Alan Delval

Months ago I did not noticed that my site was slow (from 150-220ms page generation to 900-1100ms on all pages including admin pages), days ago found it and I was using Xhprof and found at least 7000 calls to is_dir, it means that something is wrong with modules, No one module was bad uninstalled, so a module was the problem, I modified boostrap.inc with dpm and found "imagcache_actions" while it must be "imagecache_actions".

File: imagecache_actions/canvasactions/imagecache_canvasactions.module
Line: 55

I don't know if is done on dev version, but would be good if this not happend because is a stable version.

Thanks. English is'nt my first...

Comments

Alan Delval’s picture

Issue summary: View changes
fietserwin’s picture

Status: Active » Closed (duplicate)

Duplicate of: #2166715: Typo causes extra query every page load. But thanks for reporting anyway.

dnotes’s picture

Title: Wrong module_load_include path slows down whole site » Entire site extremely slow after update to Drupal 7.33, with 1000+ calls to file_scan_directory, caused by current version of imagecache_actions.
Issue summary: View changes
Status: Closed (duplicate) » Active

Respectfully, as long as the current recommended version of the module includes this bug, I think this issue needs to be active. It's potentially crippling 80,000 sites after they upgrade Drupal core, and there has been a security release.

fietserwin’s picture

Title: Entire site extremely slow after update to Drupal 7.33, with 1000+ calls to file_scan_directory, caused by current version of imagecache_actions. » Wrong module_load_include path slows down whole site
Status: Active » Closed (duplicate)

It still is a duplicate. We were working on some other issues before releasing 1.5, so it is to be released soon.