Sunday, March 27, 2016

kswapd0 high cpu consumption


OS: Ubuntu 15.10
Linux Kernel: 4.2.0-25-generic

Running MongoDB gets the CPU consumption high, with the culprit being kswapd0 process

Fix: 

add this to /etc/rc.local:
echo madvise > /sys/kernel/mm/transparent_hugepage/enabled

As per this URL: https://www.reddit.com/r/chrubuntu/comments/3ru04q/help_kernel_process_kswapd0_randomly_consuming/


The next attempt:

echo 3 > /proc/sys/vm/drop_caches

One more attempt:

worked around by commenting out line 2 in /lib/udev/rules.d/40-vm-hotadd.rules.

And the last attempt really worked:

Just updated to the last kernel update on ubuntu 15.10 :-)

1 comment:

  1. The first casino near me, where to play slots, and video slots - Dr
    A quick walk to the casino might be a good 세종특별자치 출장안마 spot for you when you want to 목포 출장안마 get in on the action with 공주 출장마사지 video slots. 보령 출장마사지 Video Slots (Video Poker) · Casinos. 전라남도 출장마사지

    ReplyDelete