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 :-)

2 comments:

  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
  2. Meet your project deadlines with Protocase CNC Machining - the Modern Machine Shop. Get fully finished CNC machined elements in as fast as 2-3 days, with no minimum order necessities. Best of all, you'll be able to|you probably can} rely on our group of actual individuals, ready to reply your questions and supply steerage. Compression Stockings CNC Turning is a manufacturing process by which bars of fabric are held in a chuck and rotated while a software is fed to the piece to remove material to create the desired form.

    ReplyDelete