Proxmox issue with Kernel Samepage Merging

in promox •  6 years ago 

One of our virtual machines stopped responding several times a month. After some digging I founded issue with KSM. How to fix it? Disable KSM

systemctl disable ksmtuned

below is an example of a log fragment with KSM error

Jan 29 10:21:20 plus kernel: kworker/0:0: page allocation failure: order:0, mode:0x310da
Jan 29 10:21:20 plus kernel: CPU: 0 PID: 25322 Comm: kworker/0:0 Not tainted 3.10.0-957.1.3.el7.x86_64 #1
Jan 29 10:21:20 plus kernel: Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.10.2-0-g5f4c7b1-prebuilt.qemu-project.org 04/01/2014
Jan 29 10:21:20 plus kernel: Workqueue: events_freezable update_balloon_size_func [virtio_balloon]
Jan 29 10:21:20 plus kernel: Call Trace:
Jan 29 10:21:20 plus kernel: dump_stack+0x19/0x1b
Jan 29 10:21:20 plus kernel: warn_alloc_failed+0x110/0x180
Jan 29 10:21:20 plus kernel: __alloc_pages_slowpath+0x6b6/0x724
Jan 29 10:21:20 plus kernel: __alloc_pages_nodemask+0x405/0x420
Jan 29 10:21:20 plus kernel: alloc_pages_current+0x98/0x110
Jan 29 10:21:20 plus kernel: balloon_page_alloc+0x15/0x20
Jan 29 10:21:20 plus kernel: update_balloon_size_func+0xb1/0x290 [virtio_balloon]
Jan 29 10:21:20 plus kernel: process_one_work+0x17f/0x440
Jan 29 10:21:20 plus kernel: worker_thread+0x126/0x3c0
Jan 29 10:21:20 plus kernel: ? manage_workers.isra.25+0x2a0/0x2a0
Jan 29 10:21:20 plus kernel: kthread+0xd1/0xe0
Jan 29 10:21:20 plus kernel: ? insert_kthread_work+0x40/0x40
Jan 29 10:21:20 plus kernel: ret_from_fork_nospec_begin+0x21/0x21
Jan 29 10:21:20 plus kernel: ? insert_kthread_work+0x40/0x40

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

A warm welcome to Steemit! We are all glad you're here! In my opinion, the best way of interacting on Steemit is by using the @partiko app. It works great on your mobile device, is fast, and you will never miss a notification! I use it every day! The best part is you get rewarded for using it.

Click here to download.

After downloading it make a post and you will earn 2,500 points!

Again, welcome and let me know if you have any questions about Steemit!

Posted using Partiko iOS