KSM error

MikeAndreev

Member
Feb 3, 2021
12
1
8
54
Hi,
we have Proxmox cluster with 4 hosts

proxmox-ve: 6.4-1 (running kernel: 5.4.128-1-pve)
pve-manager: 6.4-13 (running version: 6.4-13/9f411e79)
pve-kernel-5.4: 6.4-5
pve-kernel-helper: 6.4-5
pve-kernel-5.4.128-1-pve: 5.4.128-1
........................................
ksm-control-daemon: 1.3-1

On one host I got next error (and stopped KSM daemon) in ~1 min after start KSM Tuning Daemon:


● ksmtuned.service - Kernel Samepage Merging (KSM) Tuning Daemon
Loaded: loaded (/lib/systemd/system/ksmtuned.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2021-08-16 10:38:36 CEST; 40s ago
Process: 83687 ExecStart=/usr/sbin/ksmtuned (code=exited, status=0/SUCCESS)
Main PID: 83695 (code=exited, status=1/FAILURE)

Aug 16 10:37:36 pm-cal-56-02.srv.*************** systemd[1]: Starting Kernel Samepage Merging (KSM) Tuning Daemon...
Aug 16 10:37:36 pm-cal-56-02.srv.*************** systemd[1]: Started Kernel Samepage Merging (KSM) Tuning Daemon.
Aug 16 10:38:36 pm-cal-56-02.srv.*************** ksmtuned[83687]: /usr/sbin/ksmtuned: line 101: 3.45482e+09: syntax error: invalid arithmetic operator (error token is ".45482e+09")
Aug 16 10:38:36 pm-cal-56-02.svr.**************** systemd[1]: ksmtuned.service: Main process exited, code=exited, status=1/FAILURE
Aug 16 10:38:36 pm-cal-56-02.srv.**************** systemd[1]: ksmtuned.service: Failed with result 'exit-code'.

All parameters in /etc/ksmtuned.conf are commented (default settings) and the same on all hosts.
Any ideas?

WBR
Mike
 
Hi,
we have Proxmox cluster with 4 hosts

proxmox-ve: 6.4-1 (running kernel: 5.4.128-1-pve)
pve-manager: 6.4-13 (running version: 6.4-13/9f411e79)
pve-kernel-5.4: 6.4-5
pve-kernel-helper: 6.4-5
pve-kernel-5.4.128-1-pve: 5.4.128-1
........................................
ksm-control-daemon: 1.3-1

On one host I got next error (and stopped KSM daemon) in ~1 min after start KSM Tuning Daemon:


● ksmtuned.service - Kernel Samepage Merging (KSM) Tuning Daemon
Loaded: loaded (/lib/systemd/system/ksmtuned.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2021-08-16 10:38:36 CEST; 40s ago
Process: 83687 ExecStart=/usr/sbin/ksmtuned (code=exited, status=0/SUCCESS)
Main PID: 83695 (code=exited, status=1/FAILURE)

Aug 16 10:37:36 pm-cal-56-02.srv.*************** systemd[1]: Starting Kernel Samepage Merging (KSM) Tuning Daemon...
Aug 16 10:37:36 pm-cal-56-02.srv.*************** systemd[1]: Started Kernel Samepage Merging (KSM) Tuning Daemon.
Aug 16 10:38:36 pm-cal-56-02.srv.*************** ksmtuned[83687]: /usr/sbin/ksmtuned: line 101: 3.45482e+09: syntax error: invalid arithmetic operator (error token is ".45482e+09")
Aug 16 10:38:36 pm-cal-56-02.svr.**************** systemd[1]: ksmtuned.service: Main process exited, code=exited, status=1/FAILURE
Aug 16 10:38:36 pm-cal-56-02.srv.**************** systemd[1]: ksmtuned.service: Failed with result 'exit-code'.

All parameters in /etc/ksmtuned.conf are commented (default settings) and the same on all hosts.
Any ideas?

WBR
Mike
the same error (on Proxmox 8)
did you solve the problem?
 
Hi,
the same error (on Proxmox 8)
did you solve the problem?
can you share the exact error message you get? The script /usr/sbin/ksmtuned comes from the Debian package ksmtuned, so you might want to report the bug there: https://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=ksmtuned

EDIT: I wasn't aware that Proxmox VE 8 does actually still provide a custom ksm-control-daemon package which can be used alternatively to the Debian one. A patch has been sent by @stfl that should address this issue: https://lists.proxmox.com/pipermail/pve-devel/2024-January/061460.html
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!