Hello
I am still pretty new to incus. Did a few tests with a few incus hosts inside vms. Now I have setup a first (pretty small) bare metal host with the same config. Problem is, when I create a vm, I get an error message that is very much unclear to me:
Failed to run: forklimits limit=memlock:unlimited:unlimited fd=3 fd=4 -- /nix/store/956276f43hqg26yzv97bsqfxxcj4gfhr-qemu-host-cpu-only-10.1.2/bin/qemu-system-x86_64 -S -name almalinux -uuid b3fb3528-5550-4d9e-96d2-b8ab88cc76a3 -daemonize -cpu host,hv_passthrough,migratable=no,+invtsc -nographic -serial chardev:console -nodefaults -no-user-config -sandbox on,obsolete=deny,elevateprivileges=allow,spawn=allow,resourcecontrol=deny -readconfig /run/incus/almalinux/qemu.conf -spice unix=on,disable-ticketing=on,addr=/run/incus/almalinux/qemu.spice -pidfile /run/incus/almalinux/qemu.pid -D /var/log/incus/almalinux/qemu.log -smbios type=2,manufacturer=LinuxContainers,product=Incus -run-with user=nobody: : exit status 1
I do not see any error messages in the journal or somewhere else. Anybody an idea, what is the cause of this, or how to debug this further?
The test incus hosts inside vms do not show this problem.
Addendum: in the file /var/log/incus/almalinux/qemu.log I find the following entry:
qemu-system-x86_64: Address space limit 0xfffffffff < 0x12bfffffff phys-bits too low (36)
This seems to be this issue here:
So, adding:
raw.qemu.conf: |
[memory]
maxmem = "6144M"
to my profile works.