Hello,
Looks like PVE doesn't detect ram usage in FreeBSD properly, example - VM has 700 MB usage, PVE dashboard shows 1924.
qemu-guest-agent is installed, however, looks like PVE doesn't use it to get the RAM usage:
dommemstat is the command currently implemented in the qemu-guest-agent port for FreeBSD
# qm guest cmd 104 dommemstat
command: value 'dommemstat' does not have a value in the enumeration 'fsfreeze-freeze, fsfreeze-status, fsfreeze-thaw, fstrim, get-fsinfo, get-host-name, get-memory-block-info, get-memory-blocks, get-osinfo, get-time, get-timezone, get-users, get-vcpus, info, network-get-interfaces, ping, shutdown, suspend-disk, suspend-hybrid, suspend-ram'
get-memory-block-info and get-memory-blocks both return:
"error" : {
"class" : "CommandNotFound",
"desc" : "The command guest-get-memory-blocks has been disabled for this instance"
}
"error" : {
"class" : "CommandNotFound",
"desc" : "The command guest-get-memory-block-info has been disabled for this instance"
}
I've also opened an issue on this in https://github.com/aborche/qemu-guest-agent
Looks like PVE doesn't detect ram usage in FreeBSD properly, example - VM has 700 MB usage, PVE dashboard shows 1924.
qemu-guest-agent is installed, however, looks like PVE doesn't use it to get the RAM usage:
dommemstat is the command currently implemented in the qemu-guest-agent port for FreeBSD
# qm guest cmd 104 dommemstat
command: value 'dommemstat' does not have a value in the enumeration 'fsfreeze-freeze, fsfreeze-status, fsfreeze-thaw, fstrim, get-fsinfo, get-host-name, get-memory-block-info, get-memory-blocks, get-osinfo, get-time, get-timezone, get-users, get-vcpus, info, network-get-interfaces, ping, shutdown, suspend-disk, suspend-hybrid, suspend-ram'
get-memory-block-info and get-memory-blocks both return:
"error" : {
"class" : "CommandNotFound",
"desc" : "The command guest-get-memory-blocks has been disabled for this instance"
}
"error" : {
"class" : "CommandNotFound",
"desc" : "The command guest-get-memory-block-info has been disabled for this instance"
}
I've also opened an issue on this in https://github.com/aborche/qemu-guest-agent