My server (fedora) stops all podman containers after 2-3 hours since 3 days. I can start all containers again, and the same happens after a while. I do not know where to look for the problem.
In top, I found a oom message. I assume that the system runs out of memory and stops all services. How can I find the problem? I can’t find anything in the container logs.
I can see that systemctl status is always starting. It doesn’t become “running”. But I do not know how to proceed.
neidu2@feddit.nl 8 months ago
The issue with diagnosing memory issues is that it usually results in no memory available to handle the logging of such a problem when it happens.
I’ve found that the easieat approach is to set up a file as additional swap space, and swapon, then see if the problem disappears, either partially or fully.
GravitySpoiled@lemmy.ml 8 months ago
I’ve got way too much RAM for swap being useful at all. Good idea though.
EarMaster@lemmy.world 8 months ago
There is no such thing as too much RAM…
atzanteol@sh.itjust.works 8 months ago
If something you’re running has a memory leak then it doesn’t matter how much RAM you have.
You can try adding memory limits to your containers to see if that limits the splash damage. That’s to say you would hopefully see only one container (the bad one) dying.
B0rax@feddit.de 8 months ago
How do you know that you have too much ram? Have you set up a monitoring solution like influxDB to track ram usage over time?
SeeJayEmm@lemmy.procrastinati.org 8 months ago
Then you didn’t understand how the system uses swap.
chrisdown.name/2018/01/…/in-defence-of-swap.html
ElderWendigo@sh.itjust.works 8 months ago
I’m just curious how much RAM you think that is.