On 8/13/20 12:32 PM, Fajar A. Nugraha wrote:
Try (two times, once inside the container, once inside the host):
- cat /proc/self/cgroup
- ls -la /proc/self/ns
On the host:
root@il08:~# cat /proc/self/cgroup
13:name=systemd:/
12:rdma:/
11:pids:/
10:perf_event:/
9:net_prio:/
8:net_cls:/
7:memory:
On Thu, Aug 13, 2020 at 5:23 PM Harald Dunkel wrote:
>
> On 8/13/20 9:02 AM, Harald Dunkel wrote:
> >
> > # cat /sys/fs/cgroup/unified/system.slice/zabbix-agent.service/cgroup.procs
> > 0
> > 0
> > 0
> > 0
> > 0
> > 0
> >
> >
> > PID 0 is not valid here, AFAICT. And zabbix-agent isn't even install
On 8/13/20 9:02 AM, Harald Dunkel wrote:
# cat /sys/fs/cgroup/unified/system.slice/zabbix-agent.service/cgroup.procs
0
0
0
0
0
0
PID 0 is not valid here, AFAICT. And zabbix-agent isn't even installed
in my container. Its installed on the host only.
PS:
Lennart Pottering wrote about this:
I
Hi folks,
using Debian 10 and lxc 4.0.2 (or 4.0.4) I found ghost services in my
containers. Sample:
# cat /sys/fs/cgroup/unified/system.slice/cron.service/cgroup.procs
50
0
# cat /sys/fs/cgroup/unified/system.slice/dbus.service/cgroup.procs
48
0
# cat /sys/fs/cgroup/unified/system.slice/zabbix