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.

@GravitySpoiled@lemmy.ml
creator
link
fedilink
English
-84M

I’ve got way too much RAM for swap being useful at all. Good idea though.

@EarMaster@lemmy.world
link
fedilink
English
174M

There is no such thing as too much RAM

I’m just curious how much RAM you think that is.

Then you didn’t understand how the system uses swap.

https://chrisdown.name/2018/01/02/in-defence-of-swap.html

lemmyvore
link
fedilink
English
14M

They could mean that they have swap but it’s not being used.

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
creator
link
fedilink
English
24M

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
link
fedilink
English
24M

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
creator
link
fedilink
English
14M

I observed it during resource hungry usage. I never had issues with it, not even close.

Create a post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

  • 1 user online
  • 279 users / day
  • 589 users / week
  • 1.34K users / month
  • 4.55K users / 6 months
  • 1 subscriber
  • 3.47K Posts
  • 69.3K Comments
  • Modlog