We have a docker swarm and we normally run service container using Docker create service API. Now we are seeing after certain time interval the services are not responding ( means the application running inside container ). As of now the solution looks like restarting the service after specific time interval.And it worked when we tried it manually .
This is the top
command output of Host worker node
And output of docker stats
Wanted to know what is the best approach to fix it. Also can we automate the solution.