Independent, non-commercial site. Not affiliated with, sponsored by, or endorsed by GoDaddy Inc. GODADDY is a trademark of its owner.

PHP Workers and Concurrency: Why Uncached Requests Queue

Some hosting plans list a number of "PHP workers". It sounds like a technical footnote, but for a dynamic site it can be the figure that decides whether a busy moment feels fine or falls over.

What a worker is

When a request needs PHP, for example an uncached WordPress page, a search, a cart or the admin area, the web server hands it to a PHP process. With PHP-FPM, the common way of running PHP behind a web server, those processes sit in a pool. The pool setting pm.max_children caps how many can run at the same time. Each running process handles one request until it finishes.

Hosts that advertise "workers" are usually describing this cap for your account or site. If a plan allows four workers, at most four uncached PHP requests are processed at any moment. A fifth waits in a queue until one finishes.

Why this matters more than raw speed

Consider an illustrative case, not a measurement: a page takes half a second of PHP time and the plan has four workers. In ideal conditions the site can complete about eight such requests per second. If ten arrive in the same second, some visitors wait for the queue on top of the half second. If requests keep arriving faster than they finish, the queue grows, and eventually the server returns timeouts or 502 and 504 errors.

  • Cached pages normally skip PHP entirely, so they do not use a worker.
  • Slow external calls, such as a payment or mapping API, hold a worker for the whole wait.
  • Background tasks like WordPress cron and admin pages compete for the same workers as visitors.

This is why two plans with similar CPU can behave very differently under load, and why a faster PHP version can effectively raise capacity: each request finishes sooner and frees its worker.

Testing for worker limits

  1. Pick an uncached page. Confirm it is uncached from the response headers.
  2. Measure a single request's server time with the curl TTFB method.
  3. Run a short, gentle load test, raising concurrency one step at a time, as in the load-testing note.
  4. Watch for the point where response time jumps in steps rather than smoothly. That stepping is the queue appearing.

Compare the concurrency at that point with the worker figure in the plan description. If they line up, you have found the limit. The hosting guide covers plan types that raise it. Where your domain is registered does not affect any of this; that topic lives on the registrar basics page.

Sources and further reading

  • PHP Manual — FastCGI Process Manager (FPM) configuration, including pm.max_children.
  • IETF RFC 9110 — HTTP Semantics (status codes 502, 503 and 504).
  • WordPress developer documentation — WP-Cron.

Subscribe to Our Newsletter

An occasional email when a new note is published. No offers and no advertising.

No spam. Unsubscribe anytime. We respect your privacy.