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
That's how Linux manages it memory, it will use free memory as file cache till it needs it. Then free up memory for process use.
If your only half using the memory for actual services, you may want to reduce it.
But why doesn't it ever empty the swap space? I've been using vm.swappiness=10 and I've tried vm.vfs_cache_pressure at 100 and 50. Checking ps I'm not seeing any services that would be idling in the background, so I'm not sure why the system thought it needed to put anything in swap. (And FWIW, I run two servers with identical services that I load balance to, but the other machine has barely used any swap space -- which adds to my confusion about the differences).
Why would I want to reduce the amount of memory in the server? Isn't all that cache memory being used to help things run smoother and reduce drive I/O?
All I can tell you from my decades of Linux use is, the memory management is very odd.
But yes more free memory should help keep things running shooth, if you have the memory leave it as is
Why would it do anything with the swapped-out pages if they are never subsequently accessed?
Paging them back in for no reason is not an effective use of CPU time or system memory.