Project

General

Profile

Actions

Bug #21551

open

Finding plugins that loop through all network sites

Added by Boone Gorges 7 days ago. Updated 6 days ago.

Status:
New
Priority name:
Normal
Assignee:
Category name:
-
Target version:
Start date:
2024-11-21
Due date:
% Done:

0%

Estimated time:
Deployment actions:

Description

As part of our ongoing database woes, I noticed in our slow query logs that something is doing the following:

SELECT blog_id FROM wp_blogs

This query itself is pretty slow, but what worries me is what comes next.

I ran a couple of greps across our codebase to see which plugins are doing this kind of thing. Many are, but most of them are part of an uninstall method (uninstall.php, uninstall hooks, etc) that should never be run on the Commons. For the remaining items, I'd like to do a bit of investigation and remediation. I'll use this ticket to track that work.

Actions

Also available in: Atom PDF