Since more than a week, each day my mini server has a oom and all containers are getting killed by oom. How do I find the reason?
Bonus: how can they automatically restart again. I have to do it manually.
Submitted 3 days ago by illusionist@lemmy.zip to selfhosted@lemmy.world
Since more than a week, each day my mini server has a oom and all containers are getting killed by oom. How do I find the reason?
Bonus: how can they automatically restart again. I have to do it manually.
That’s awesome. I wonder why I haven’t seen this so far. Thank you!
tal@olio.cafe 3 days ago
OOMs happen because your system is out of memory.
The kernel tries to “blame” a process and will kill it, as you’ve seen, but ultimately, you may know better than it which is acting in a way you don’t want”.
It may be that you simply don’t have enough memory to do what you want to do. You might be able to get by by adding more paging (space.
illusionist@lemmy.zip 3 days ago
Thank you, I’ll try to setup a systemd timer with that