Maybe try capping the resource usage of each container. At least then the machine won’t completely lock up
Comment on How to auto-reboot if CPU load too high?
PlutoniumAcid@lemmy.world 7 months agoYou know you are right, and I’ve tried. I can manually monitor but it doesn’t happen just then. I don’t know yet what causes it, I can only assume it’s one of the Docker containers because the machine is doing nothing else.
I am doing this to find out how often it happens, how quickly it happens, and what’s at the top when it happens.
possiblylinux127@lemmy.zip 7 months ago
PlutoniumAcid@lemmy.world 7 months ago
That’s a good idea, didn’t know Docker had such capability. I will read up on that - could you give me some keywords to start on?
wreckedcarzz@lemmy.world 7 months ago
I very recently spun up a vps and wanted to limit resources; I use docker-compose so this was the info I needed docs.docker.com/compose/…/compose-file-v3/#resour…
vegetaaaaaaa@lemmy.world 7 months ago
Setup proper monitoring with history. That way yo don’t have to babysit the server, you can just look at the charts after a crash. I usually go with netdata