I'm trying to resolve "Failed to open cgroup2 by ID" from my socket statistics "ss"
0
votes
0
answers
40
views
I'm learning to investigate my socket statistics so I do..
sudo ss -tulerp
I get the following in the output..
Failed to open cgroup2 by ID
Failed to open cgroup2 by ID
Failed to open cgroup2 by ID
Failed to open cgroup2 by ID
Failed to open cgroup2 by ID
Failed to open cgroup2 by ID
udp UNCONN 0 0 0.0.0.0:rpc.nlockmgr 0.0.0.0:* ino:9653 sk:379 cgroup:unreachable:1696
udp UNCONN 0 0 [::]:34245 [::]:* ino:14892 sk:387 cgroup:unreachable:1696 v6only:1
tcp LISTEN 0 64 0.0.0.0:rpc.nfs 0.0.0.0:* ino:7020 sk:395 cgroup:unreachable:1696
tcp LISTEN 0 64 0.0.0.0:rpc.nlockmgr 0.0.0.0:* ino:9654 sk:398 cgroup:unreachable:1696
tcp LISTEN 0 64 [::]:rpc.nfs [::]:* ino:9648 sk:39c cgroup:unreachable:1696 v6only:1
tcp LISTEN 0 64 [::]:34827 [::]:* ino:3924 sk:39d cgroup:unreachable:1696 v6only:1
I try to close port
34827
with..
sudo ss -K dport = 34827
but it just fails silently.
I assume each "Failed to open cgroup2 by ID" corresponds to one of the "cgroup:unreachable" entries.
What is happening? And how do I resolve this? This is on Ubuntu 22.04 in case it is relevant.
Asked by slowcoder
(71 rep)
Jul 30, 2025, 11:14 PM
Last activity: Jul 30, 2025, 11:27 PM
Last activity: Jul 30, 2025, 11:27 PM