What Causes Random Website Downtime? A Troubleshooting Checklist
A site that is down all the time is easy to fix, because everyone can see the problem. A site that is down for ninety seconds twice a day is much harder. By the time you open a terminal, everything looks fine. The hosting provider says there was no incident. The only evidence is a customer who says "it didn't load earlier" and a dip in the analytics graph.
This guide lists the causes behind most intermittent downtime, the symptom each one leaves behind, and the fix. It then walks through a short process to pin the cause down using nothing more than your check logs and a few free tools.
First, collect the pattern
Random downtime is rarely random. Before changing anything, gather four facts about the last few incidents. An uptime monitor with a short check interval gives you all of them; without one, server access logs are the fallback.
- When does it happen? Same minute every hour, same hour every night, only on weekdays, or only after a deploy?
- How long does each incident last? Thirty seconds points at a restart. Ten minutes points at something that fills up and drains.
- What exactly failed? A timeout, a 5xx response, a 4xx response, or a DNS or TLS error are different problems. AlertsDown records the status code or the error for every failed check, and treats a request that takes longer than 20 seconds as a 504.
- Where did it fail? If an external monitor saw the outage but your own server logs show nothing, the problem is in front of your server: DNS, CDN, load balancer, or firewall.
With those four answers, the table at the end of this article usually narrows it down to one or two suspects.
The eight usual causes
1. A process that runs out of memory and restarts
The classic. A slow memory leak grows for hours, the process gets killed by the operating system or the platform, and a supervisor restarts it. The site is down for the length of a cold start, then fine again until the next cycle.
Symptom: short outages at a regular interval that drifts over days, timeouts or 502s, and a restart line in your process manager or platform logs at the same minute. Fix: find the leak, or in the short term restart the process on a schedule you control, during the quietest hour, so the forced restart never happens at noon.
2. Database connection limits
Every web process opens its own pool of database connections. Add a background worker, a second instance, or a traffic spike, and the total exceeds what the database allows. New requests wait for a connection and time out.
Symptom: outages during traffic peaks, long response times before the failure, and "too many connections" or pool-timeout errors in the application log. Fix: cap the pool size per process, add a connection pooler, or raise the database limit if the hardware allows it.
3. Traffic spikes and bots
A crawler, a scraper, or a marketing email that landed at 9 a.m. can push a small server past its limit for a few minutes. Aggressive bots are the most common cause for small sites and the hardest to notice because they rarely show up as real visitors in analytics.
Symptom: outages that coincide with a jump in requests in the access log, often from a handful of IP addresses or an unusual user agent. Fix: rate-limit at the edge, block the worst offenders, cache aggressively, and make sure the expensive pages are not the ones bots hammer.
4. DNS problems and short TTLs
If a DNS record points at an old IP after a migration, or a secondary nameserver is misconfigured, some visitors resolve the right address and some do not. A very short TTL combined with a slow authoritative server produces lookups that occasionally fail.
Symptom: some locations see the site down while others see it up, errors are DNS failures rather than HTTP status codes, and the pattern follows TTL expiry. Fix: verify every record at the registrar and the DNS host, raise the TTL to something sensible once a migration is done, and check that all listed nameservers answer.
5. Failed SSL certificate renewal
Automatic renewal usually works, until a changed firewall rule, a moved webroot, or a rate limit makes the renewal fail. The certificate expires, browsers refuse to connect, and the site is "down" even though the server is fine. Often a retry later succeeds, which produces an outage that lasts hours and then heals itself.
Symptom: TLS errors rather than HTTP errors, starting around the exact expiry time. Fix: check the renewal job logs, run the free SSL certificate checker to see the current expiry and issuer, and monitor expiry so the next failure is an email weeks ahead, not an outage.
6. Scheduled jobs and backups
Nightly backups, log rotation, image processing, and report generation all compete with the web server for CPU, disk, and database locks. On a small server, a backup that locks a table or saturates the disk makes the site unresponsive until it finishes.
Symptom: outages at the same time each night or week, with slow responses leading into them. The companion article on why websites go down at night covers this case in detail. Fix: move heavy jobs to a different machine, lower their priority, or spread them across the quiet hours instead of stacking them at midnight.
7. Shared hosting and noisy neighbours
On shared hosting and oversold virtual servers, another customer's traffic spike is your outage. You cannot see it, your logs show nothing unusual, and the host's status page is green.
Symptom: outages with no corresponding activity in your own logs, variable response times throughout the day, and no pattern you can tie to your traffic. Fix: ask the host whether your account hit resource limits, and if the problem persists, move to a plan or provider with dedicated resources.
8. CDN, load balancer, and firewall layers
Anything between the visitor and your server can fail on its own. A CDN edge in one region has trouble, a load balancer marks a healthy instance as unhealthy, or a web application firewall starts challenging legitimate requests after a rule update.
Symptom: the monitor sees 520, 525, 526, or 503 responses that your server never produced, or the outage affects one region only. Fix: check the provider's status page for the affected region, review recent firewall rule changes, and make sure the load balancer health check targets a path that reflects real application health.
Symptom to cause, at a glance
| What the failed checks show | Most likely cause | First thing to check |
|---|---|---|
| Timeouts or 502 at a regular interval, short duration | Process restart after a memory leak | Process manager or platform restart logs |
| Slow responses, then timeouts, during peaks | Database connection limit | Application log for pool or connection errors |
| Timeouts with a request surge in the access log | Bot or crawler traffic | Top IPs and user agents in the last hour |
| DNS resolution errors, differ by location | DNS record or nameserver problem | Records at the DNS host, TTL, all nameservers |
| TLS errors starting at a fixed time | Expired certificate after failed renewal | Renewal job logs, certificate expiry |
| Outages at the same time each night | Backups or scheduled jobs | Crontab and backup schedule |
| Nothing in your logs, no pattern | Noisy neighbour on shared hosting | Resource limits with the host |
| 520, 525, 526, or 503 you never produced | CDN, load balancer, or firewall | Provider status, recent rule changes |
Confirm it from outside
Your own server cannot tell you whether visitors can reach it. Two free tools help confirm what the outside world sees, with no account needed:
- The uptime and speed snapshot fetches your page the way a visitor would and reports the status code and response time right now.
- The redirect and canonical checker follows your redirect chain, which catches the case where an intermittent failure is really a redirect loop or a redirect to a host that is down.
For intermittent problems, a one-off check is only useful during the outage. The real fix is continuous checks with a record you can read afterwards.
Let a monitor collect the evidence for you
Everything in this guide starts with the same four facts: when, how long, what failed, and from where. An uptime monitor collects them automatically. With AlertsDown, each check logs the status code or error and the response time, so a week of history shows the pattern on its own. Alerts only fire after two consecutive failed checks, which keeps a single dropped connection out of your inbox while the log still records it, and a recovery notice can follow once three checks in a row succeed.
Add your site as a monitor on the free plan, let it run for a few days, then come back to the table above with real data. Most "random" downtime stops being random by the end of the week.
Explore related uptime monitoring solutions
Compare tools with our UptimeRobot alternative guide for faster downtime alerts.
Reach teams instantly with Telegram downtime alerts, WhatsApp website alerts, or SMS alerts for critical incidents.
Share outages transparently with a public status page that updates automatically.
See how pricing plans scale from free monitoring to multi-site coverage.
Monitor your sites with AlertsDown
Monitor your sites with AlertsDown – get started for free in 2 minutes.