Comment on How to detect problems on computer?
neidu2@feddit.nl 6 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 6 months ago
I’ve got way too much RAM for swap being useful at all. Good idea though.
EarMaster@lemmy.world 6 months ago
There is no such thing as too much RAM…
atzanteol@sh.itjust.works 6 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.
GravitySpoiled@lemmy.ml 6 months ago
that’s neat. Tank you.
So far I follow a bottom up strategy. I’ll keep adding containers each day (or after many hours) and wait for it to stop. I also looked up how to limit memory usage. It’s a great idea to limit all containers and see which one fails. thanks!
B0rax@feddit.de 6 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?
GravitySpoiled@lemmy.ml 6 months ago
I observed it during resource hungry usage. I never had issues with it, not even close.
SeeJayEmm@lemmy.procrastinati.org 6 months ago
Then you didn’t understand how the system uses swap.
chrisdown.name/2018/01/…/in-defence-of-swap.html
lemmyvore@feddit.nl 6 months ago
They could mean that they have swap but it’s not being used.
ElderWendigo@sh.itjust.works 6 months ago
I’m just curious how much RAM you think that is.