Sunday, May 12, 2024
 Popular · Latest · Hot · Upcoming
10
rated 0 times [  10] [ 0]  / answers: 1 / hits: 40703  / 1 Year ago, fri, may 26, 2023, 12:33:07

I have a cloud server with ~14G of RAM and no swap. However, I occasionally see kswapd0 taking up some CPU when I run top. Why would kswapd0 be running at all if there's no swap space for it to manage?


More From » swap

 Answers
3

It still has a process to check if there's any swap. To reduce it, you'll need to set your swappiness -



edit "/etc/sysctl.conf" as root, then change (or add)



vm.swappiness = 0

[#26571] Friday, May 26, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
oneeme

Total Points: 340
Total Questions: 110
Total Answers: 133

Location: Ghana
Member since Fri, Oct 21, 2022
2 Years ago
;