-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
mstat fails to run on 22.04 and later due to switching to cgroups v2. It fails with the following error message:
2022/12/06 11:04:10 internal error: Read: EOF/0/[]byte{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}
2022/12/06 11:04:10 NewPoller: poll: cg.Stat: returned nil Memory stats
However, there is currently a workaround. However, the workaround will require modifying your bootloader to force it to boot with cgroups v1.
- Open
/etc/default/grub. - Replace the line
GRUB_CMDLINE_LINUX=""withGRUB_CMDLINE_LINUX="systemd.unified_cgroup_hierarchy=0". - Run
sudo update-grubto update your bootloader. - Reboot your system.
ajccosta
Metadata
Metadata
Assignees
Labels
No labels