Selfhosted
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:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
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.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
view the rest of the comments
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.
I've got way too much RAM for swap being useful at all. Good idea though.
There is no such thing as too much RAM...
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.
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!
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?
I observed it during resource hungry usage. I never had issues with it, not even close.
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
They could mean that they have swap but it's not being used.