Paul Slootman
2024-06-08 15:10:01 UTC
Reply
PermalinkVersion: 2:4.0.2-3
Severity: normal
I am running a number of virtual systems under lxc via libvirt.
This means these systems share the host kernel (not like qemu where a
whole virtual machine is emulated).
I upgraded one to bookworm today, and when running 'ps faxu' or 'free'
I get an error: Unable to create meminfo structure
I downgraded procps to 2:3.3.17-5 (including libprocps8 2:3.3.17-5)
and then it worked again.
Working 'free' output:
# free
total used free shared buff/cache available
Mem: 2097152 64600 1932352 9028 100200 1932352
Swap: 10338296 795392 9542904
Not working 'free' output:
# free
free: Unable to create meminfo structure
Contents of /proc/meminfo :
MemTotal: 2097152 kB
MemFree: 1930792 kB
MemAvailable: 1930792 kB
Buffers: 0 kB
Cached: 100672 kB
SwapCached: 60812 kB
Active: 119140 kB
Inactive: 38800 kB
Active(anon): 64480 kB
Inactive(anon): 84 kB
Active(file): 54660 kB
Inactive(file): 38716 kB
Unevictable: 660 kB
Mlocked: 43200 kB
SwapTotal: 10338296 kB
SwapFree: 9542904 kB
Zswap: 0 kB
Zswapped: 0 kB
Dirty: 344 kB
Writeback: 0 kB
AnonPages: 3726656 kB
Mapped: 455856 kB
Shmem: 9028 kB
KReclaimable: 142356 kB
Slab: 0 kB
SReclaimable: 0 kB
SUnreclaim: 0 kB
KernelStack: 8576 kB
PageTables: 19560 kB
SecPageTables: 48 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 14295376 kB
Committed_AS: 7452164 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 42352 kB
VmallocChunk: 0 kB
Percpu: 3216 kB
HardwareCorrupted: 0 kB
AnonHugePages: 3117056 kB
ShmemHugePages: 0 kB
ShmemPmdMapped: 0 kB
FileHugePages: 0 kB
FilePmdMapped: 0 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
Hugetlb: 0 kB
DirectMap4k: 179704 kB
DirectMap2M: 6940672 kB
DirectMap1G: 3145728 kB
I'm willing to help debug on my system if needed.
Thanks,
Paul
-- System Information:
Debian Release: 12.5
APT prefers stable
APT policy: (800, 'stable'), (500, 'stable-updates'), (500, 'stable-security'), (500, 'unstable'), (500, 'oldstable'), (100, 'bookworm-fasttrack'), (100, 'bookworm-backports-staging')
Architecture: amd64 (x86_64)
Kernel: Linux 6.1.0-9-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages procps depends on:
ii init-system-helpers 1.65.2
ii libc6 2.36-9+deb12u4
ii libncursesw6 6.4-4
ii libproc2-0 2:4.0.2-3
ii libtinfo6 6.4-4
Versions of packages procps recommends:
ii psmisc 23.6-1
procps suggests no packages.
-- no debconf information