wofferl / proxmox-backup-arm64

Script for building Proxmox Backup Server 3.x (Bookworm) for Armbian64
151 stars 12 forks source link

add workaround for systems where kernel is not compiled with ksm enabled #5

Closed MAFLO321 closed 2 years ago

MAFLO321 commented 2 years ago

On systems where the kernel was compiled without ksm enabled (CONFIG_KSM=y), the status display on the dashboard and the corresponding RRD graphs in the administration area do not work. This is e.g. the case on the Raspberry Pi with the Raspberry Pi kernel (see https://github.com/raspberrypi/linux/issues/1238).

To get the monitor working anyway, it is necessary to skip the section in the code that reads the Kernel Samepage Merging size if the file to be read does not exist.

This does not affect systems with ksm.