Linux 软件免费装
Banner图

EasyCloud Load Governor

开发者 easycloudsolutions
更新时间 2026年11月18日 07:30
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

performance cron heartbeat server load action scheduler

下载

1.1.2 1.1.3

详情介绍:

Image-optimization, SEO and store plugins schedule bursts of background work. On modest hosting those bursts can fill every PHP-FPM worker at once and peg the CPU. Real visitors then get 502 errors. Load Governor reads the server's actual load average with sys_getloadavg(). It needs no shell access. When load is high, background work backs off: Visitor page requests are never gated. Thresholds are set per CPU core, so one setting works on any server size. Heartbeat controls Set the Heartbeat interval separately for the admin dashboard, the post editor and the front end. Choose 30, 60 or 120 seconds, or disable it on the dashboard and front end. The post editor can be slowed but not disabled. It relies on Heartbeat for post locking, which stops two people overwriting each other's work. If you use Heartbeat Control, which hasn't been updated since 2023, Load Governor covers the same settings. It also adds automatic slowing while the server is under load. Built to be safe

安装:

  1. Install and activate the plugin.
  2. Open Tools > Load Governor.
  3. Turn on Dry-run for a few days and watch the decision log.
  4. Add any backup or security cron hooks to Always-run, then turn Dry-run off.

常见问题:

Does this slow down my visitors?

No. Gating applies only to wp-cron runs, Action Scheduler queue runs and the Heartbeat interval. Normal page requests are never delayed.

What if my host doesn't expose a load average?

Load-based gating stays off and the status screen says so. Your fixed Heartbeat settings still apply.

Will deferred jobs be lost?

No. Deferred wp-cron jobs stay scheduled and run on a later spawn. Throttled Action Scheduler batches resume once load drops.

Which hooks should I add to Always-run?

Add your backup plugin's scheduled hook and any security scan hooks. Tools such as WP Crontrol list the hook names scheduled on your site.

My site runs in a container. Is the core count right?

Load Governor counts cores from /proc/cpuinfo, which shows the host's cores. If your container has a smaller CPU quota, set the CPU cores override to match it.

更新日志:

1.1.2 1.1.1 1.1.0 1.0.0