The cause of this issue was nicely tracked down by Ryan Palmer on the Acquia forums: http://acquia.com/node/1011148
It turns out that if you have the Send module enabled alongside Acquia SPI, the expensive acquia_spi_send() function will get called all the time (rather than just once per 8 hours on cron like it is supposed to). The reason is that the way the function is named, it accidentally implements the Send module's hook_send()...
The attached patch simply renames the function to acquia_spi_send_profile_info() in order to avoid the problem.
| Comment | File | Size | Author |
|---|---|---|---|
| rename-acquia-spi-send.patch | 2.47 KB | David_Rothstein |
Comments
Comment #1
Ryan Palmer commentedPatch looks good. Verified having both send and acquia_spi enabled no longer causes performance issues.
Comment #2
JacobSingh commented<rant> D8: We need to make a truly declarative plugin system. This "special" function name crap has gone one long enough. (intentionally not closing that tag).
Comment #3
pwolanin commentedWell - at the very least we could have __ or something else as the hook indicator to avoid random collisions like this.
Comment #4
pwolanin commentedsee: http://drupal.org/node/548470
Comment #5
pwolanin commentedcommitted to HEAD and 6.x branches.
We will need to roll a new release for this bug fix before long, so let's see if there is anything else.