Skip to content
Discussion options

You must be logged in to vote

@valkenburg-prevue-ch FYI (From GPT-4):

kswapd0 is a kernel process that is responsible for freeing up memory pages when the system is running out of physical memory. When your k3s-server process is consuming a lot of memory, kswapd0 tries to find pages that can be moved into swap space to free up physical memory. If there's no swap space configured, kswapd0 can be stuck in a loop trying to free up memory, causing high CPU usage.

The fact that setting swappiness to 0 or trying to disable swapping (with swapoff -a) doesn't impact your situation is expected. These commands would only be effective if you had swap space configured. The swappiness parameter controls the tendency of the kernel …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@valkenburg-prevue-ch
Comment options

Answer selected by valkenburg-prevue-ch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants