Web outage on one of our shared hosting servers, 19 November
Summary
On 19 November 2026, 36 websites hosted on one of our shared hosting servers in Norway were unreachable for 27 minutes, from 13:02:31 to 13:30:04 CET. Apache on that server was killed by the kernel's out-of-memory handler after PHP processes consumed most of the server's memory.
The server itself remained up: SSH access, MariaDB, email and DNS continued to work throughout, no data was lost, and our other shared hosting servers were not affected.
The cause was a configuration problem on this server. 14 of its 36 sites ran PHP in CGI mode, which starts a new PHP process for every request with no limit on concurrency. At the moment of failure, 96 such processes were running.
All 36 sites have since been moved to PHP-FPM with a process pool per account and a limit on concurrency. Affected customers were notified as soon as the fault was detected.
Scope
This incident affected one server. It did not affect the shared hosting platform as a whole.
- Affected: 36 websites hosted on one of our shared hosting servers in Norway.
- Affected: HTTP and HTTPS on that server between 13:02 and 13:30 CET.
- Not affected: our other shared hosting servers and the customers hosted on them.
- Not affected: SSH access, MariaDB, email (Exim/Dovecot) and DNS on the affected server. All of these kept running throughout the incident.
- Not affected: customer data. No data was lost or modified.
What happened
The server's memory was exhausted by PHP processes and the kernel responded by killing Apache.
- 12:59 — Normal operation: memory available, load 0.09.
- 13:01:44 — Memory nearly exhausted, load 69.6, 95 PHP CGI processes running.
- 13:02:12 — The kernel begins killing Apache child processes.
- 13:02:31 — Apache stops. Websites on the server become unreachable.
- 13:30:04 — Apache is restarted by cPanel's service check.
Traffic at the time was ordinary: about 97 requests in the two minutes before the failure, with a single source accounting for 84 of them. A scanner probing common paths was blocked by ModSecurity.
This was not a traffic attack. The problem was the memory cost per request. In CGI mode every request started a process of 60–160 MB, and nothing limited how many could run at once. A normal traffic pattern was enough to exhaust the server.
Why recovery took 27 minutes
Two mechanisms that should have shortened the outage did not work as intended.
cPanel's service check requires three consecutive failed checks, roughly ten minutes apart, before it restarts a service. Three rounds started (13:05, 13:14, 13:25) but did not complete while the server was under memory pressure. Only the round that finished at 13:30 restarted Apache.
Our own memory guard should have acted first, but its threshold required 120 PHP CGI processes before triggering. 95 was enough to take the service down, so it never fired.
Both paths have been corrected: recovery no longer depends on the cPanel check, and the guard is calibrated to the actual failure pattern.
A recurring failure, not a one-off
This was not the first time. Apache on this server had been killed by the memory handler 13 times since 7 November, with downtime ranging from 1 second to 28 minutes.
Each event recovered, which is why it presented as an isolated glitch rather than a systemic problem. We are treating it as systemic: the configuration allowed a normal traffic pattern to exhaust the server, and the recovery path depended on a service check that stalls under exactly the conditions it was meant to handle.
What we changed
PHP runs under PHP-FPM on every site. All 36 sites now use a PHP-FPM process pool per account, with a limit of five concurrent workers and an idle timeout. Requests reuse workers instead of starting new processes, each pool runs as its own account user, and opcache is shared within the pool.
WordPress cron no longer runs on page views. Six sites had WordPress cron enabled on page loads, so a single visit could start up to three additional PHP processes. Cron now runs from the system scheduler every 15 minutes, and one site that had disabled it without a replacement was given the missing job.
Recovery no longer waits for cPanel. Apache restarts automatically if it fails, backed by a watchdog that checks the web port every two minutes. This was tested by stopping Apache manually: the watchdog detected it and restored service without intervention.
Memory pressure now degrades PHP, not Apache. The web server is the last process the kernel should kill; PHP-FPM carries the higher out-of-memory score, so a memory event affects PHP workers rather than taking every website offline at once.
Verification
- PHP CGI processes on the server: 96 before, 0 after.
- Sites without PHP-FPM: 14 before, 0 after (36 of 36).
- 30 concurrent requests: previously about 90 processes; now memory stays stable with no CGI processes.
- Recovery after a manual Apache stop: restored automatically by the watchdog, HTTP 200.
- Public checks after migration returned the expected responses on all affected sites.
Separate finding: backup retention
While investigating, we found that retention for one of several backup processes protecting this server had not run since 1 November.
Two things are worth separating:
- The other backup processes kept running normally throughout. The server is covered by several backups, including ones outside the four-hour schedule, so customer data was never left without a backup.
- This process also kept taking snapshots every four hours, and those snapshots were intact. What failed was the cleanup step: a stale lock blocked it, a random temporary path prevented snapshots from being grouped, and a truncated log command left new locks behind on each run.
The retention script has been fixed and verified: an integrity check reports no errors, the number of snapshots is back within policy, and incremental runs now reuse the previous snapshot instead of re-reading everything.
No backup data was lost at any point, and no customer data depended on the failing step.
What this means for you
No action is required. Sites on the affected server have been running on PHP-FPM since the day of the incident, and their configuration was verified afterwards.
If you run WordPress on infrastructure outside our management, the same pattern applies to you: set `DISABLE_WP_CRON` in `wp-config.php` and run `wp-cron.php` from the system scheduler instead of on page views.
Remaining work
- New sites on shared hosting will not inherit the old PHP configuration. We are updating the hosting packages themselves so the CGI setup is not carried over to new accounts, rather than relying on a check that flags it afterwards.
- Memory headroom on this server is limited: it also runs the database, mail filtering, monitoring and backup agents. We are evaluating additional memory.
- Swap usage and disk capacity are monitored, with alerts before they become critical.
Timeline
- 13:02 — Apache stops; websites on the server unreachable.
- 13:20 — Status page: investigating.
- 13:30 — Apache restarted; websites reachable again.
- 13:39 — Status page: monitoring.
- 13:47 — Migration to PHP-FPM begins.
- 14:04 — Status page: resolved.
- 14:38 — Backup retention repaired and verified.
- 19 November, later that day — All 36 sites verified on PHP-FPM.
- 21 November — This report is published.
