PB-2101: Slow request
Paul Bunyan code PB-2101 (Warning): Slow request. What it means and what to do.
On this page
What it means
The server took longer than the slow-request threshold to answer.
What to do
Open the request (click its id) and read the timeline: the widest bars are where the time went.
Common causes
- A slow database query, or many small ones (PB-2501, PB-2502).
- A call to another service that the page waits for (PB-2401).
- An email sent while the visitor waits (PB-2301).
- One plugin doing heavy work on every page: building menus, resizing images, loading large settings.
- No page cache, so every visitor waits for the full build (PB-3007).
- The server itself: OPcache off (PB-3008), too few PHP workers, or a busy shared server.
How to find the cause
- Open the request from Fix first or Messages and read its timeline. The widest bar is where the time went.
- Look at the stages: time before
plugins_loadedis spent loading plugin files; time betweeninitandwp_loadedis plugins setting up; time aftertemplate_redirectis building the page. - Open the slowest function under that bar. Its "Inside" line shows how the time splits between queries, outside calls, email and plain PHP.
- If wall time is far above processor time (PB-2104 shows processor time), the request was waiting: on the database, another server, or a free processor.
Details
| Code | Severity | Group |
|---|---|---|
| PB-2101 | Warning | Request |
