Ok
somehow the processes bypasses the group/namespace
under libvirt the cgroups.procs file (
/sys/fs/cgroup/memory/machine/lxc-4296-deb4.libvirt-lxc/cgroup.procs )
shows only one process
with the lxc tools the cgroups.procs file (
/sys/fs/cgroup/memory/lxc/debian/cgroup.procs )
shows up to all 11 processes
--
Mit freundlichen Grüßen / best regards
Markus Raps
cgroup.clone_children:0
cgroup.procs:2796
memory.failcnt:0
memory.kmem.failcnt:0
memory.kmem.limit_in_bytes:9223372036854771712
memory.kmem.max_usage_in_bytes:2494464
memory.kmem.slabinfo:slabinfo - version: 2.1
memory.kmem.slabinfo:# name <active_objs> <num_objs> <objsize> <objperslab> <pagesperslab> : tunables <limit> <batchcount> <sharedfactor> : slabdata <active_slabs> <num_slabs> <sharedavail>
memory.kmem.slabinfo:fuse_inode 0 0 768 5 1 : tunables 54 27 8 : slabdata 0 0 0
memory.kmem.slabinfo:shmem_inode_cache 55 55 688 11 2 : tunables 54 27 8 : slabdata 5 5 0
memory.kmem.slabinfo:mqueue_inode_cache 0 0 896 4 1 : tunables 54 27 8 : slabdata 0 0 0
memory.kmem.slabinfo:kmalloc-512 0 0 512 8 1 : tunables 54 27 8 : slabdata 0 0 0
memory.kmem.slabinfo:pool_workqueue 0 0 256 16 1 : tunables 120 60 8 : slabdata 0 0 0
memory.kmem.slabinfo:proc_inode_cache 111 132 640 6 1 : tunables 54 27 8 : slabdata 22 22 0
memory.kmem.slabinfo:sock_inode_cache 12 18 640 6 1 : tunables 54 27 8 : slabdata 3 3 0
memory.kmem.slabinfo:pid 1 32 128 32 1 : tunables 120 60 8 : slabdata 1 1 0
memory.kmem.slabinfo:anon_vma 37 112 72 56 1 : tunables 120 60 8 : slabdata 2 2 0
memory.kmem.slabinfo:vm_area_struct 120 160 200 20 1 : tunables 120 60 8 : slabdata 8 8 0
memory.kmem.slabinfo:mm_struct 1 4 1024 4 1 : tunables 54 27 8 : slabdata 1 1 0
memory.kmem.slabinfo:signal_cache 2 7 1088 7 2 : tunables 24 12 8 : slabdata 1 1 0
memory.kmem.slabinfo:sighand_cache 2 6 2112 3 2 : tunables 24 12 8 : slabdata 2 2 0
memory.kmem.slabinfo:fs_cache 2 63 64 63 1 : tunables 120 60 8 : slabdata 1 1 0
memory.kmem.slabinfo:files_cache 2 11 704 11 2 : tunables 54 27 8 : slabdata 1 1 0
memory.kmem.slabinfo:anon_vma_chain 67 320 64 64 1 : tunables 120 60 8 : slabdata 5 5 0
memory.kmem.slabinfo:cred_jar 5 84 192 21 1 : tunables 120 60 8 : slabdata 4 4 0
memory.kmem.slabinfo:task_struct 3 4 3392 2 2 : tunables 24 12 8 : slabdata 2 2 0
memory.kmem.slabinfo:kmalloc-1024 2 8 1024 4 1 : tunables 54 27 8 : slabdata 2 2 0
memory.kmem.slabinfo:kmalloc-192 2 21 192 21 1 : tunables 120 60 8 : slabdata 1 1 0
memory.kmem.slabinfo:inode_cache 14 21 584 7 1 : tunables 54 27 8 : slabdata 3 3 0
memory.kmem.slabinfo:dentry 202 294 192 21 1 : tunables 120 60 8 : slabdata 14 14 0
memory.kmem.tcp.failcnt:0
memory.kmem.tcp.limit_in_bytes:9223372036854771712
memory.kmem.tcp.max_usage_in_bytes:0
memory.kmem.tcp.usage_in_bytes:0
memory.kmem.usage_in_bytes:581632
memory.limit_in_bytes:1024000000
memory.max_usage_in_bytes:4317184
memory.move_charge_at_immigrate:0
memory.numa_stat:total=188 N0=188
memory.numa_stat:file=0 N0=0
memory.numa_stat:anon=188 N0=188
memory.numa_stat:unevictable=0 N0=0
memory.numa_stat:hierarchical_total=188 N0=188
memory.numa_stat:hierarchical_file=0 N0=0
memory.numa_stat:hierarchical_anon=188 N0=188
memory.numa_stat:hierarchical_unevictable=0 N0=0
memory.oom_control:oom_kill_disable 0
memory.oom_control:under_oom 0
memory.soft_limit_in_bytes:9223372036854771712
memory.stat:cache 4096
memory.stat:rss 765952
memory.stat:rss_huge 0
memory.stat:mapped_file 0
memory.stat:dirty 0
memory.stat:writeback 0
memory.stat:pgpgin 1763
memory.stat:pgpgout 1575
memory.stat:pgfault 3264
memory.stat:pgmajfault 0
memory.stat:inactive_anon 0
memory.stat:active_anon 770048
memory.stat:inactive_file 0
memory.stat:active_file 0
memory.stat:unevictable 0
memory.stat:hierarchical_memory_limit 1024000000
memory.stat:total_cache 4096
memory.stat:total_rss 765952
memory.stat:total_rss_huge 0
memory.stat:total_mapped_file 0
memory.stat:total_dirty 0
memory.stat:total_writeback 0
memory.stat:total_pgpgin 1763
memory.stat:total_pgpgout 1575
memory.stat:total_pgfault 3264
memory.stat:total_pgmajfault 0
memory.stat:total_inactive_anon 0
memory.stat:total_active_anon 770048
memory.stat:total_inactive_file 0
memory.stat:total_active_file 0
memory.stat:total_unevictable 0
memory.swappiness:60
memory.usage_in_bytes:1351680
memory.use_hierarchy:1
notify_on_release:0
tasks:2796
tasks:2800
cgroup.clone_children:0
cgroup.procs:3019
cgroup.procs:3054
cgroup.procs:3061
cgroup.procs:3079
cgroup.procs:3085
cgroup.procs:3094
cgroup.procs:3097
cgroup.procs:3098
cgroup.procs:3099
cgroup.procs:3100
cgroup.procs:3101
memory.failcnt:0
memory.kmem.failcnt:0
memory.kmem.limit_in_bytes:9223372036854771712
memory.kmem.max_usage_in_bytes:3633152
memory.kmem.slabinfo:slabinfo - version: 2.1
memory.kmem.slabinfo:# name <active_objs> <num_objs> <objsize> <objperslab> <pagesperslab> : tunables <limit> <batchcount> <sharedfactor> : slabdata <active_slabs> <num_slabs> <sharedavail>
memory.kmem.slabinfo:kmalloc-node 0 0 128 32 1 : tunables 120 60 8 : slabdata 0 0 0
memory.kmem.slabinfo:kmalloc-2048 0 2 2048 2 1 : tunables 24 12 8 : slabdata 0 1 0
memory.kmem.slabinfo:kmalloc-32 2 124 32 124 1 : tunables 120 60 8 : slabdata 1 1 0
memory.kmem.slabinfo:ext4_inode_cache 8 9 1072 3 1 : tunables 24 12 8 : slabdata 3 3 0
memory.kmem.slabinfo:radix_tree_node 0 0 576 7 1 : tunables 54 27 8 : slabdata 0 0 0
memory.kmem.slabinfo:kmalloc-64 3 64 64 64 1 : tunables 120 60 8 : slabdata 1 1 0
memory.kmem.slabinfo:hugetlbfs_inode_cache 0 0 600 6 1 : tunables 54 27 8 : slabdata 0 0 0
memory.kmem.slabinfo:sock_inode_cache 45 54 640 6 1 : tunables 54 27 8 : slabdata 9 9 0
memory.kmem.slabinfo:kmalloc-512 0 0 512 8 1 : tunables 54 27 8 : slabdata 0 0 0
memory.kmem.slabinfo:pool_workqueue 2 32 256 16 1 : tunables 120 60 8 : slabdata 1 2 0
memory.kmem.slabinfo:anon_vma 298 672 72 56 1 : tunables 120 60 8 : slabdata 12 12 48
memory.kmem.slabinfo:vm_area_struct 1161 1320 200 20 1 : tunables 120 60 8 : slabdata 65 66 384
memory.kmem.slabinfo:mm_struct 11 20 1024 4 1 : tunables 54 27 8 : slabdata 5 5 0
memory.kmem.slabinfo:signal_cache 10 28 1088 7 2 : tunables 24 12 8 : slabdata 4 4 0
memory.kmem.slabinfo:sighand_cache 10 15 2112 3 2 : tunables 24 12 8 : slabdata 5 5 0
memory.kmem.slabinfo:fs_cache 10 63 64 63 1 : tunables 120 60 8 : slabdata 1 1 0
memory.kmem.slabinfo:files_cache 10 22 704 11 2 : tunables 54 27 8 : slabdata 2 2 0
memory.kmem.slabinfo:anon_vma_chain 713 1280 64 64 1 : tunables 120 60 8 : slabdata 20 20 288
memory.kmem.slabinfo:task_struct 10 14 3392 2 2 : tunables 24 12 8 : slabdata 7 7 0
memory.kmem.slabinfo:kmalloc-1024 1 8 1024 4 1 : tunables 54 27 8 : slabdata 1 2 0
memory.kmem.slabinfo:kmalloc-192 1 21 192 21 1 : tunables 120 60 8 : slabdata 1 1 0
memory.kmem.slabinfo:inode_cache 267 301 584 7 1 : tunables 54 27 8 : slabdata 43 43 0
memory.kmem.slabinfo:shmem_inode_cache 129 154 688 11 2 : tunables 54 27 8 : slabdata 14 14 0
memory.kmem.slabinfo:proc_inode_cache 470 498 640 6 1 : tunables 54 27 8 : slabdata 83 83 0
memory.kmem.slabinfo:dentry 972 1134 192 21 1 : tunables 120 60 8 : slabdata 54 54 15
memory.kmem.slabinfo:cred_jar 43 294 192 21 1 : tunables 120 60 8 : slabdata 14 14 12
memory.kmem.tcp.failcnt:0
memory.kmem.tcp.limit_in_bytes:9223372036854771712
memory.kmem.tcp.max_usage_in_bytes:0
memory.kmem.tcp.usage_in_bytes:0
memory.kmem.usage_in_bytes:2994176
memory.limit_in_bytes:268435456
memory.max_usage_in_bytes:17768448
memory.move_charge_at_immigrate:0
memory.numa_stat:total=3196 N0=3196
memory.numa_stat:file=9 N0=9
memory.numa_stat:anon=3187 N0=3187
memory.numa_stat:unevictable=0 N0=0
memory.numa_stat:hierarchical_total=3196 N0=3196
memory.numa_stat:hierarchical_file=9 N0=9
memory.numa_stat:hierarchical_anon=3187 N0=3187
memory.numa_stat:hierarchical_unevictable=0 N0=0
memory.oom_control:oom_kill_disable 0
memory.oom_control:under_oom 0
memory.soft_limit_in_bytes:9223372036854771712
memory.stat:cache 8478720
memory.stat:rss 4612096
memory.stat:rss_huge 0
memory.stat:mapped_file 471040
memory.stat:dirty 20480
memory.stat:writeback 0
memory.stat:pgpgin 8346
memory.stat:pgpgout 5150
memory.stat:pgfault 12755
memory.stat:pgmajfault 0
memory.stat:inactive_anon 8429568
memory.stat:active_anon 4624384
memory.stat:inactive_file 4096
memory.stat:active_file 32768
memory.stat:unevictable 0
memory.stat:hierarchical_memory_limit 268435456
memory.stat:total_cache 8478720
memory.stat:total_rss 4612096
memory.stat:total_rss_huge 0
memory.stat:total_mapped_file 471040
memory.stat:total_dirty 20480
memory.stat:total_writeback 0
memory.stat:total_pgpgin 8346
memory.stat:total_pgpgout 5150
memory.stat:total_pgfault 12755
memory.stat:total_pgmajfault 0
memory.stat:total_inactive_anon 8429568
memory.stat:total_active_anon 4624384
memory.stat:total_inactive_file 4096
memory.stat:total_active_file 32768
memory.stat:total_unevictable 0
memory.swappiness:60
memory.usage_in_bytes:16084992
memory.use_hierarchy:1
notify_on_release:0
tasks:3019
tasks:3054
tasks:3061
tasks:3079
tasks:3085
tasks:3094
tasks:3097
tasks:3098
tasks:3099
tasks:3100
tasks:3101
_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users