kernel-packages team mailing list archive
Mailing list archive
[Bug 721896] Re: kswapd0 100% cpu usage
Solution checked in Ubuntu 14.04.1
Use vm.swappiness & vm.vfs_cache_pressure to the minimum possible
Run the below command in Terminal
sudo gedit /etc/sysctl.conf
Add the below line at the end of the file. Select File > Save. Select File > Quit. Restart computer
This can be a workaround, if top command shows kswapd0 taking 99% or 100% cpu, while heavy memory activity
Heavy memory activity may be playing Dota2, copying large files, browsing faulty websites, etc...
Suggested swap partition size in Ubuntu 14.04 64bit with heavy memory activity
Atleast double the size of RAM or 20GB whichever is bigger
Use bigger swap partition than the current, if the above issue still persists
Example swap entry in /etc/fstab to enable swap manually in /dev/sda7
/dev/sda7 none swap sw 0 0
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
kswapd0 100% cpu usage
Status in linux package in Ubuntu:
After the running the latest ubuntu for at least 2 weeks, I've noticed that kswapd0 started using 100% CPU on one of my cores.
However, I have enough of RAM and not using swap (Swap: 11876344k total, 62336k used).
The only thing I can do to remove the problem is reboot the system.
I'm using Ubuntu 10.04.1 LTS server version without any kernel modifications.
To manage notifications about this bug go to: