Comment 101 for bug 1518457

Revision history for this message
Jonathan Vargas (jvargas-alkaid) wrote :

I face the same issue, running a t2.micro (1 GB) for a Nginx/Ruby application with really low demand. The kswapd0 process takes the CPU to 100% and the overall system performance is downgraded.

Linux server 4.4.0-22-generic #40-Ubuntu SMP Thu May 12 22:03:46 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

To reproduce it, I just create a 1GB file in the filesystem using "dd":

if=/dev/zero of=temp bs=1k count=1024k

I created a swap file to solve the issue but it continues. After dropping the page cache with:

echo 3 > /proc/sys/vm/drop_caches

the issue is solved temporarily.