Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only /proc/cpuinfo is empty or null #31

Open
chewmunk opened this issue Mar 7, 2024 · 0 comments
Open

Only /proc/cpuinfo is empty or null #31

chewmunk opened this issue Mar 7, 2024 · 0 comments

Comments

@chewmunk
Copy link

chewmunk commented Mar 7, 2024

Only /proc/cpuinfo is empty or null; other information is well visible.

k8s node in /var/lib/lxc/lcxfs/proc
image

Please tell me how to restore the node without rebooting it in order not to affect the other pods you are using.

lxcfs-ds-pod log
/usr/bin/lxcfs --debug --enable-loadavg --enable-cfs /var/lib/lxc/lxcfs
Running constructor lxcfs_init to reload liblxcfs
mount namespace: 5
hierarchies:
0: fd: 6: cpuset,cpu,io,memory,hugetlb,pids,rdma,misc
Kernel supports pidfds
Kernel does not support swap accounting
api_extensions:

  • cgroups
  • sys_cpu_online
  • proc_cpuinfo
  • proc_diskstats
  • proc_loadavg
  • proc_meminfo
  • proc_stat
  • proc_swaps
  • proc_uptime
  • proc_slabinfo
  • shared_pidns
  • cpuview_daemon
  • loadavg_daemon
  • pidfds
    FUSE library version: 3.16.2
    nullpath_ok: 0
    unique: 2, opcode: INIT (26), nodeid: 0, insize: 56, pid: 0
    INIT: 7.34
    flags=0x33fffffb
    max_readahead=0x00020000
    INIT: 7.38
    flags=0x0040f039
    max_readahead=0x00020000
    max_write=0x00100000
    max_background=0
    congestion_threshold=0
    time_gran=1
    unique: 2, success, outsize: 80
    unique: 4, opcode: LOOKUP (1), nodeid: 1, insize: 45, pid: 1864049
    LOOKUP /proc
    getattr[NULL] /proc
    NODEID: 2
    unique: 4, success, outsize: 144
    unique: 6, opcode: LOOKUP (1), nodeid: 2, insize: 48, pid: 1864049
    LOOKUP /proc/cpuinfo
    getattr[NULL] /proc/cpuinfo
    NODEID: 3
    unique: 6, success, outsize: 144
    unique: 8, opcode: GETATTR (3), nodeid: 1, insize: 56, pid: 1864053
    getattr[NULL] /
    unique: 8, success, outsize: 120
    unique: 10, opcode: LOOKUP (1), nodeid: 2, insize: 50, pid: 1864055
    LOOKUP /proc/diskstats
    getattr[NULL] /proc/diskstats
    NODEID: 4
    unique: 10, success, outsize: 144
    unique: 12, opcode: LOOKUP (1), nodeid: 2, insize: 48, pid: 1864061
    LOOKUP /proc/loadavg
    getattr[NULL] /proc/loadavg
    NODEID: 5
    unique: 12, success, outsize: 144
    unique: 14, opcode: LOOKUP (1), nodeid: 2, insize: 48, pid: 1864067
    LOOKUP /proc/meminfo
    getattr[NULL] /proc/meminfo
    NODEID: 6
    unique: 14, success, outsize: 144
    unique: 16, opcode: LOOKUP (1), nodeid: 2, insize: 45, pid: 1864073
    LOOKUP /proc/stat
    getattr[NULL] /proc/stat
    NODEID: 7
    unique: 16, success, outsize: 144
    unique: 18, opcode: LOOKUP (1), nodeid: 2, insize: 46, pid: 1864080
    LOOKUP /proc/swaps
    getattr[NULL] /proc/swaps
    NODEID: 8
    unique: 18, success, outsize: 144
    unique: 20, opcode: LOOKUP (1), nodeid: 2, insize: 47, pid: 1864086
    LOOKUP /proc/uptime
    getattr[NULL] /proc/uptime
    NODEID: 9
    unique: 20, success, outsize: 144
    unique: 22, opcode: LOOKUP (1), nodeid: 1, insize: 44, pid: 1864094
    LOOKUP /sys
    getattr[NULL] /sys
    NODEID: 10
    unique: 22, success, outsize: 144
    unique: 24, opcode: LOOKUP (1), nodeid: 10, insize: 48, pid: 1864094
    LOOKUP /sys/devices
    getattr[NULL] /sys/devices
    NODEID: 11
    unique: 24, success, outsize: 144
    unique: 26, opcode: LOOKUP (1), nodeid: 11, insize: 47, pid: 1864094
    LOOKUP /sys/devices/system
    getattr[NULL] /sys/devices/system
    NODEID: 12
    unique: 26, success, outsize: 144
    unique: 28, opcode: LOOKUP (1), nodeid: 12, insize: 44, pid: 1864094
    LOOKUP /sys/devices/system/cpu
    getattr[NULL] /sys/devices/system/cpu
    NODEID: 13
    unique: 28, success, outsize: 144
    unique: 30, opcode: LOOKUP (1), nodeid: 13, insize: 47, pid: 1864094
    LOOKUP /sys/devices/system/cpu/online
    getattr[NULL] /sys/devices/system/cpu/online
    NODEID: 14
    unique: 30, success, outsize: 144
    unique: 32, opcode: LOOKUP (1), nodeid: 1, insize: 45, pid: 1864391
    LOOKUP /proc
    getattr[NULL] /proc
    NODEID: 2
    unique: 32, success, outsize: 144
    unique: 34, opcode: STATFS (17), nodeid: 1, insize: 40, pid: 3382
    unique: 34, success, outsize: 96
    unique: 36, opcode: STATFS (17), nodeid: 1, insize: 40, pid: 2393381
    unique: 36, success, outsize: 96
    unique: 38, opcode: OPEN (14), nodeid: 14, insize: 48, pid: 1864861
    open flags: 0x8000 /sys/devices/system/cpu/online
    open[94652746107344] flags: 0x8000 /sys/devices/system/cpu/online
    unique: 38, success, outsize: 32
    unique: 40, opcode: READ (15), nodeid: 14, insize: 80, pid: 1864861
    read[94652746107344] 1024 bytes from 0 flags: 0x8000
    read[94652746107344] 4 bytes from 0
    unique: 40, success, outsize: 20
    unique: 42, opcode: FLUSH (25), nodeid: 14, insize: 64, pid: 1864861
    flush[94652746107344]
    unique: 42, success, outsize: 16
    unique: 44, opcode: RELEASE (18), nodeid: 14, insize: 64, pid: 0
    release[94652746107344] flags: 0x8000
    unique: 44, success, outsize: 16
    unique: 46, opcode: OPEN (14), nodeid: 9, insize: 48, pid: 1864861
    open flags: 0x8000 /proc/uptime
    open[94652746107536] flags: 0x8000 /proc/uptime
    unique: 46, success, outsize: 32
    unique: 48, opcode: READ (15), nodeid: 9, insize: 80, pid: 1864861
    read[94652746107536] 8191 bytes from 0 flags: 0x8000
    read[94652746107536] 20 bytes from 0
    unique: 48, success, outsize: 36
    unique: 50, opcode: OPEN (14), nodeid: 6, insize: 48, pid: 1864861
    open flags: 0x8000 /proc/meminfo
    open[94652746107344] flags: 0x8000 /proc/meminfo
    unique: 50, success, outsize: 32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant