Process down (docker-swarm)
Modified on Mon, 23 Jun, 2025 at 9:08 AM
• Note: Applicable only for systems running the Docker Swarm model
- Symptoms:
- The process monitor on the swarm-manager reports a service down.
- Root Cause:
- Disk full on the node causes the Docker service on that node to go down.
- Docker service crashes and restarts, causing the node to lose connection with the manager.
- How to check:
- On swarm-manager:
Check the list of nodes.docker node ls
Check the list of services and their up/down status.docker service ls
Check which node the service is running on via the "Placement" field.docker service inspect <service_name>
- On docker-node:
Check the containers running on the node.docker ps -a
Check the service status and uptime.service docker status- Note: Sometimes the Docker service and containers run normally, but the swarm-manager still shows the node as down.
- On swarm-manager:
- Resolution steps:
- First, try to restart the service:
Replacedocker service update --replicas=0 phishing_centrel && docker service update --replicas=5 phishing_centrelphishing_centrelwith the name of the service reported as down.
Check if the service has the desired number of replicas.docker service ls- If waiting does not resolve the issue, proceed with the next steps.
- On docker-node:
service docker restartdocker swarm leave (-f)
- On swarm-manager:
docker node rm <node_name>
Copy the output and run it on the docker-node to rejoin it to the swarm.docker swarm join-token worker
- Check the services and nodes again to ensure everything is normal.
- Check the logs of the process you just brought up:
docker logs -ft <container_name>
- First, try to restart the service:
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article