Crashed services
Your site depends on several programs running in the background — a web server like nginx or Apache, often PHP, and a database. When one of them stops, parts of your site or all of it stop working, even though the server is still on.
- At a glance
- Group
- Availability
- Tendbot
- Can fix it
- What it does
- Restarts it and checks it stays up.
- Approval
- Always with your OK, or your access mode
What you’ll notice
- “502 Bad Gateway” or a blank white page
- The site loads but forms, logins or checkout fail
- A service shows as “failed” or “inactive” on the server
- Pages load again after someone restarts the server
Why it usually happens
- The program ran out of memory and was stopped
- A settings mistake stops it from starting
- An update restarted it and something went wrong
- It crashed after too many requests at once
Fix it yourself
How to fix it by hand
Comfortable with a terminal? Here’s what an experienced admin would do. Start with the read-only commands.
- 01
Find failed services
See which programs have stopped.
systemctl --failed - 02
Check one service’s status
Replace nginx with the service you’re looking at.
systemctl status nginx --no-pager - 03
Read why it stopped
The recent logs show the error that caused it.
sudo journalctl -u nginx -n 50 --no-pager - 04
Restart it
Restart the service, then check it stays running.
sudo systemctl restart nginx && systemctl is-active nginx
With Tendbot
How Tendbot fixes it
- Spots services that have stopped or keep failing, and reads their logs for the reason.
- Tells you what the service does for your site and why it stopped, in plain English.
- Offers to restart it and checks it stays up — every step is logged and can be undone.
- If the same service keeps crashing, it looks for the root cause instead of restarting forever.
FAQ
Crashed services: common questions
Why does my site say 502 Bad Gateway?
The web server is running but the program behind it, often PHP or your app, isn’t answering. Restarting that program usually fixes it; its logs show why it stopped.
Is it safe to restart a service?
Usually yes — it causes a few seconds of interruption at most. Check its settings first, though: if they’re broken, it may not start again.
Private alpha · invites in small waves
Let Tendbot look after your server
Join the alpha with one email address. Early testers help shape Tendbot and keep the founding-member perks after launch.
- No card needed
- Leave any time