LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   32G RAM and SWAP keeps creeping up (https://www.linuxquestions.org/questions/linux-general-1/32g-ram-and-swap-keeps-creeping-up-4175646029/)

lleb 01-11-2019 02:09 PM

32G RAM and SWAP keeps creeping up
 
Running Fedora 29 with 32G RAM, sitting at 5.4G used.

Just ran swapoff -a && swapon -a to flush swap as it was over 2G (yes not much, but should be closer to zero with this little amount of RAM in use and so much free to use)

I have set swappiness=10, that did not help

watching htop and swap is climbing at a steady pace while RAM use is remaining rather constant.

yes I do have a lot of applications running as well as a large rsycn (getting data back onto this system) as it is a fresh install (roughly 72hrs old) so still getting tools, data, etc... up and running as I have time to sit in front of the computer.

Is there a memory leak someplace that is causing swap to climb when there is so much free RAM to be used?

Thank you

ehartman 01-11-2019 02:54 PM

Quote:

Originally Posted by lleb (Post 5947835)
Is there a memory leak someplace that is causing swap to climb when there is so much free RAM to be used?

With so much activity going on the system prefers to use the RAM for buffers and cache and will swap out INactive daemons etc to swap as to free more RAM for them.
Normal behaviour, the system tries to SPEED up things for you.

lleb 01-11-2019 03:13 PM

ehartman, thank you for that detail.


All times are GMT -5. The time now is 09:34 AM.