All articles

One slow search, ten waiting customers and the case for more CPU

A bigger CPU allocation can help a busy website. Use one quiet search and a small rush of customers to find out what’s actually slowing your WordPress site.

A technician crouches at an open server rack with a laptop on the data-centre floor.

At opening time, one customer searches a nursery’s website for a lemon tree that will grow in a pot. The search takes four seconds. At lunchtime, ten people search together and the last of them waits twelve seconds. Both experiences deserve fixing. They give you two different clues about the host’s offer to double your virtual CPUs.

A virtual CPU, or vCPU, is processing capacity the host makes available to your server. More vCPUs can let the server run more work at the same time. A typical WordPress search, though, runs through one PHP worker. Adding another vCPU doesn’t automatically divide that worker’s sequence of instructions in half. And while the worker waits for a database lock or a reply from a stock system, it has very little computing to do.

Time one search from the inside

Give the host a search term, an exact URL, a timestamp and the time zone. Ask for the time spent in PHP, the slowest database query and any external calls. A browser stopwatch includes network and rendering time, so ask for the server’s request duration as well. Time a search that actually reaches WordPress. A cached homepage can be beautifully fast while the plant finder has a lie-down.

Suppose a request trace shows 3.1 seconds of a four-second search waiting for the stock supplier. Even removing every other delay would leave that wait. Ask whether stock can be synchronised in advance and what freshness the nursery requires. If instead the trace shows the worker busy computing a filter for most of those seconds, that code or faster individual CPU cores deserve a closer look.

Three clues from the nursery search

One search, stock service slow
Check time spent waiting for the supplier and agree how fresh availability must be.
Workers busy, CPU has room
Inspect what the workers are waiting on and check memory before changing pool limits.
Searches queue, CPU exhausted
Confirm the workers are doing CPU work and compare throughput on a larger staging plan.
Compare observations from the same request or time window. Each clue points to a different follow-up.

Look for a queue during the rush

For a site running PHP-FPM, ask for the number of active and idle workers, requests waiting for a free worker, and CPU and memory use in the same busy minute. PHP-FPM’s status page defines these measurements. Its peak queue and maximum-worker counters cover the time since the pool started, so record when that was. PHP-FPM status field guide.

A queue with spare CPU can mean the worker limit is too low, or that existing workers are all waiting on the same slow dependency. Increasing the pool uses memory and can put more pressure on the database. The host can check a sample of those workers before changing the limit. PHP documents the setting as a cap on simultaneous requests. PHP-FPM process manager configuration.

Make the upgrade earn its place

Use a staging copy with comparable data, PHP settings and cache behaviour. Run the same searches individually, then with a modest number of simultaneous visitors matching the lunchtime rush. Repeat each run, keep the cache state consistent and compare timings from the same location. Record the middle response time, the slowest few responses, completed searches per minute and errors. If the host changes the processor model as well as the count, note both.

An upgrade has a clear job when the workers are doing CPU-heavy work, available CPU is regularly exhausted and customers are queuing. For the nursery, success might mean the tenth shopper gets a result promptly while the first shopper’s time barely changes. That is a worthwhile improvement, provided it’s the problem you meant to buy your way out of.

A technician works at the National Energy Research Scientific Computing Center. Cover image: Technician with laptop working on server rack at NERSC by Derrick Coetzee · CC0 1.0. Cropped and resized for Sitecove.

Last updated

3 December 2026

Share this story

Written by Sitecove Team

The Sitecove Team writes about hosting, WordPress, search and measurement for the people responsible for business websites.

Related content

The battery died. The farm gate still says strawberries.

By Sitecove Team

When the grid cuts out, can your website still take a booking?

By Sitecove Team

The Pacific crossing hidden in a Sydney checkout

By Sitecove Team

Fast hosting. Expert care. A website that’s easier to find.Faster hosting, and sites that grow.

Start your free trialSee pricing