[Pkg-libvirt-maintainers] Bug#907440: libvirt-daemon: libvirtd spams host logs with `cant open .../memory.memsw.usage_in_bytes'

Gunnar Wolf gwolf at debian.org
Fri Feb 26 18:28:30 GMT 2021


I can confirm this is the case, and that this bug has lingered without
a reply for two years and a half already :-(

The log flooding happens only when virt-manager is open (because it
keeps polling several files for displaying the guests' status). The
messages also appear when querying for specific information using
virsh:

    # dommemstat --domain sirf
    error: Failed to get memory statistics for domain sirf
    error: Unable to read from '/sys/fs/cgroup/memory/machine/lxc-29895-sirf.libvirt-lxc/memory.memsw.usage_in_bytes': No such file or directory

Curiously, when querying for full domain information, the data y
scorrectly returned:

    virsh # dominfo --domain lafa
    Id:             38611
    Name:           lafa
    UUID:           0d4041d2-327b-42f0-8433-6aeb05beb36b
    OS Type:        exe
    State:          running
    CPU(s):         1
    CPU time:       2374.6s
    Max memory:     2097152 KiB
    Used memory:    1740144 KiB
    Persistent:     yes
    Autostart:      enable
    Managed save:   no
    Security model: apparmor
    Security DOI:   0



More information about the Pkg-libvirt-maintainers mailing list