[Pkg-libvirt-maintainers] Bug#907440: libvirt-daemon: libvirtd spams host logs with `cant open .../memory.memsw.usage_in_bytes'
Peter.Chubb at data61.csiro.au
Peter.Chubb at data61.csiro.au
Tue Aug 28 04:19:12 BST 2018
Package: libvirt-daemon
Version: 4.6.0-2
Severity: minor
Dear Maintainer,
I'm running lots of containerised systems using libvirt-lxc. The systems run
on a machine with more than 300Gb RAM, and no swap. So I haven't enabled swap
accounting on the host kernel.
Every few seconds, I see a pair of messages like this in the logs for each
container on the system:
Aug 28 12:00:21 hostname libvirtd[39700]: 2018-08-28 02:00:21.467+0000: 39707: error : virFileReadAll:1434 : Failed to open file '/sys/fs/cgroup/memory/machine/lxc-41320-containername.libvirt-lxc/memory.memsw.usage_in_bytes': No such file or directory
Aug 28 12:00:21 hostname libvirtd[39700]: 2018-08-28 02:00:21.467+0000: 39707: error : virCgroupGetValueStr:819 : Unable to read from '/sys/fs/cgroup/memory/machine/lxc-41320-containername.libvirt-lxc/memory.memsw.usage_in_bytes': No such file or directory
I expect a single warning message when each container is started, then nothing.
The swap accounting files aren't magically going to appear without a reboot.
Peter C
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.16.0-2-amd64 (SMP w/56 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages libvirt-daemon depends on:
ii libacl1 2.2.52-3+b1
ii libapparmor1 2.13-8
ii libaudit1 1:2.8.3-1+b1
ii libavahi-client3 0.7-4
ii libavahi-common3 0.7-4
ii libblkid1 2.32.1-0.1
ii libc6 2.27-5
ii libcap-ng0 0.7.9-1
ii libcurl3-gnutls 7.61.0-1
ii libdbus-1-3 1.12.10-1
ii libdevmapper1.02.1 2:1.02.145-4.1
ii libfuse2 2.9.8-2
ii libgcc1 1:8.2.0-4
ii libgnutls30 3.5.19-1
ii libnetcf1 1:0.2.8-1+b2
ii libnl-3-200 3.4.0-1
ii libnl-route-3-200 3.4.0-1
ii libnuma1 2.0.11-2.2
ii libparted2 3.2-21+b1
ii libpcap0.8 1.8.1-6
ii libpciaccess0 0.14-1
ii libsasl2-2 2.1.27~101-g0780600+dfsg-3.1
ii libselinux1 2.8-1+b1
ii libssh2-1 1.8.0-2
ii libudev1 239-7
ii libvirt0 4.6.0-2
ii libxen-4.8 4.8.3+xsa267+shim4.10.1+xsa267-1+deb9u9
ii libxenstore3.0 4.8.3+xsa267+shim4.10.1+xsa267-1+deb9u9
ii libxml2 2.9.4+dfsg1-7+b1
ii libyajl2 2.1.0-2+b3
Versions of packages libvirt-daemon recommends:
ii libxml2-utils 2.9.4+dfsg1-7+b1
ii netcat-openbsd 1.190-2
ii qemu-kvm 1:2.12+dfsg-3
Versions of packages libvirt-daemon suggests:
pn libvirt-daemon-driver-storage-gluster <none>
pn libvirt-daemon-driver-storage-rbd <none>
pn libvirt-daemon-driver-storage-sheepdog <none>
pn libvirt-daemon-driver-storage-zfs <none>
ii libvirt-daemon-system 4.6.0-2
ii numad 0.5+20150602-5
-- no debconf information
--
Dr Peter Chubb Tel: +61 2 9490 5852 http://ts.data61.csiro.au/
Trustworthy Systems Group Data61, CSIRO (formerly NICTA)
More information about the Pkg-libvirt-maintainers
mailing list