Real case · video coming December 1, 2026
Website Down, Server Still Running? Here's What Happened
The server was running, but the website was down and no alert came. The memory problem we found in the logs, the 3 settings we changed, and the lesson about our own monitoring.
What happened
- A client's WordPress website went down, but the server still answered and we could still log in.
- In the logs we found the reason: the server ran out of memory, so Linux stopped the database. No database means no website.
- Our own monitoring only checked whether the server answered. It never checked the website. So no alert came. That was our mistake. Now we check the website itself too.
Why the memory ran out
Pages are built by small helpers called PHP workers. The setting allowed up to 250 workers, and each one used about 35 MB. At that limit the workers could need almost 9 GB, on a server with just 1 GB. The database cache was also set to 512 MB.
The 3 settings we changed
Make a backup and ask your developer or hosting company first. The right numbers depend on your server.
| Setting | Before | Our fix (1 GB server) | What we use on 2 GB |
|---|---|---|---|
| PHP worker limit (pm.max_children) | 250 | 8 | 15 |
| Database connections (max_connections) | 512 | 60 | 100 |
| Database cache (innodb_buffer_pool_size) | 512M | 128M | 384M |
The 1 GB values are what we changed in this case. The 2 GB values are what we use on 2 GB servers, not part of this case. At the new 1 GB limits, the workers and the database cache need about 408 MB (8 x 35 MB + 128 MB). That is an estimate: the rest of the system needs memory too.
The trade-off
With 8 workers, PHP handles up to 8 requests at the same time. Under heavy load some visitors may wait or see an error, so test the limits. A page cache helps a lot, because ready-made pages need far less work. If several websites share one server, all their limits must fit together.
3 questions for your hosting company
- Did the server run out of memory?
- Are the worker limits right for this server?
- Are you checking the website itself, not only the server?
Need it fixed for you?
If you want our own agency, Worth Pixel, to check your website or server, get in touch.
