search for: cgroups

Displaying 20 results from an estimated 1303 matches for "cgroups".

Did you mean: groups
2013 Sep 03
2
No valid cgroup for machine...
Hello! How do i get pass this error? offlinehacker:~/ $ virsh --debug 0 -c lxc:/// create o1.xml create: file(optdata): o1.xml error: Failed to create domain from o1.xml error: internal error: No valid cgroup for machine c1 My cgroups seem to be mounted: cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,release_agent=/run/current-system/systemd/lib/systemd/systemd-cgroups-agent,name=systemd) cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset) cgroup on /sys/fs/cgroup/...
2017 Oct 18
2
Can we disable write to /sys/fs/cgroup tree inside container ?
Hi all Each lxc container on node have mounted tmpfs for cgroups tree: [root-inside-lxc@tst1 ~]# mount | grep cgroups cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct,cpu) cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset) cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexe...
2013 Jun 07
2
Re: cgroup error starting domains
...PM +0200, Matteo Bernardini wrote: > Thanks Daniel for helping with this :) > > # cat /proc/mounts [snip] > cgroup /sys/fs/cgroup cgroup rw,relatime,bfqio,hugetlb,perf_event,blkio,net_cls,freezer,devices,memory,cpuacct,cpu,cpuset,clone_children Ok so here you've mounted all the cgroups controllers at the same place. This is really strongly recommended against. It is better to mount each controller separately at /sys/fs/cgroup/<controller name> and have /sys/fs/cgroup as a tmpfs. http://www.freedesktop.org/wiki/Software/systemd/PaxControlGroups eg to get something alo...
2013 Jun 10
1
Re: libvirt_lxc and sysfs
...0 devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0 tmpfs /run tmpfs rw,nosuid,nodev,mode=755 0 0 tmpfs /sys/fs/cgroup tmpfs rw,nosuid,nodev,noexec,mode=755 0 0 cgroup /sys/fs/cgroup/systemd cgroup rw,nosuid,nodev,noexec,relatime,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd 0 0 pstore /sys/fs/pstore pstore rw,nosuid,nodev,noexec,relatime 0 0 cgroup /sys/fs/cgroup/cpuset cgroup rw,nosuid,nodev,noexec,relatime,cpuset 0 0 cgroup /sys/fs/cgroup/cpu,cpuacct cgroup rw,nosuid,nodev,noexec,relatime,cpuacct,cpu 0 0 cgroup /sys/fs/cgroup/memory cgroup rw,nosu...
2011 Jan 23
2
Cgroup
Hello, I'm running Debian Sid with libvirt/qemu/kvm packages from experimental: $ qemu --version QEMU emulator version 0.13.0 (Debian 0.13.0+dfsg-2), Copyright (c) 2003-2008 Fabrice Bellard $ kvm --version QEMU emulator version 0.13.0 (qemu-kvm-0.13.0 Debian 0.13.0+dfsg-2), Copyright (c) 2003-2008 Fabrice Bellard $ libvirtd --version libvirtd (libvirt) 0.8.6 /etc/libvirt/qemu.conf
2013 Jun 07
2
Re: cgroup error starting domains
...> http://pastebin.com/Gxsgb8KG > > and this is the corresponding stuff in /var/lib/libvirt/libvirtd.log > (with log level 1) when I issue a > > # virsh start s64cont > > http://pastebin.com/Rhg3tSzt > > > as I've had a look at > > http://libvirt.org/cgroups.html > > I'm just wondering if systemd is necessary (we don't have it in > Slackware) or I'm simply missing something... No, systemd is definitely /not/ mandatory. Can you provide your /proc/mounts file contents Libvirt seems to be failing to detect the mount points 2013-0...
2012 Dec 13
1
RHEL6 cgroup error after a few days of uptime
...apply errata updates about once a week. In the last couple weeks, I've ran into a bug where the virtual machines start failing to start with a cgroup error message. If I reboot the host (very disruptive) then things start working normaly for a few days. Can I configure qemu/libvirt not to use cgroups at all as a temporary workaround? How would I do that? Here is example of trying to start a vm (that hasn't been started since boot) after the problem manifests itself. [root at virthost ~]# find /cgroup | grep r04s14 [root at virthost ~]# virsh start r04s14 error: Failed to start domain r04s...
2009 Apr 28
1
[PATCH 1/7] blkio-cgroup: Introduction
...functionality to control asynchronous I/Os with a little enhancement. Setting up blkio-cgroup ======================= You have to apply the patch dm-ioband before applying this series of blkio-cgroup patches. And you have to select the following config options when compiling kernel. CONFIG_CGROUPS=y CONFIG_CGROUP_BLKIO=y And I recommend you should also select the options for cgroup memory subsystem, because it makes it possible to give some I/O bandwidth and some memory to a certain cgroup to control delayed write requests and the processes in the cgroup will be able to make pages dir...
2009 Apr 28
1
[PATCH 1/7] blkio-cgroup: Introduction
...functionality to control asynchronous I/Os with a little enhancement. Setting up blkio-cgroup ======================= You have to apply the patch dm-ioband before applying this series of blkio-cgroup patches. And you have to select the following config options when compiling kernel. CONFIG_CGROUPS=y CONFIG_CGROUP_BLKIO=y And I recommend you should also select the options for cgroup memory subsystem, because it makes it possible to give some I/O bandwidth and some memory to a certain cgroup to control delayed write requests and the processes in the cgroup will be able to make pages dir...
2009 Apr 28
1
[PATCH 1/7] blkio-cgroup: Introduction
...functionality to control asynchronous I/Os with a little enhancement. Setting up blkio-cgroup ======================= You have to apply the patch dm-ioband before applying this series of blkio-cgroup patches. And you have to select the following config options when compiling kernel. CONFIG_CGROUPS=y CONFIG_CGROUP_BLKIO=y And I recommend you should also select the options for cgroup memory subsystem, because it makes it possible to give some I/O bandwidth and some memory to a certain cgroup to control delayed write requests and the processes in the cgroup will be able to make pages dir...
2017 Feb 27
2
Redhat 7: cgroup CPUACCT controller is not mounted
...alid: cgroup CPUACCT controller is not mounted - I checked that cgroup is well mounted: $ cat /proc/mounts | grep cgroup tmpfs /sys/fs/cgroup tmpfs ro,nosuid,nodev,noexec,mode=755 0 0 cgroup /sys/fs/cgroup/systemd cgroup rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd 0 0 cgroup /sys/fs/cgroup/devices cgroup rw,nosuid,nodev,noexec,relatime,devices 0 0 cgroup /sys/fs/cgroup/hugetlb cgroup rw,nosuid,nodev,noexec,relatime,hugetlb 0 0 cgroup /sys/fs/cgroup/pids cgroup rw,nosuid,nodev,noexec,relatime,pids 0 0 cgroup /sys/fs/cgroup/freezer cgroup rw...
2013 Sep 04
0
Re: No valid cgroup for machine...
...do i get pass this error? > > offlinehacker:~/ $ virsh --debug 0 -c lxc:/// create o1.xml > > create: file(optdata): o1.xml > error: Failed to create domain from o1.xml > error: internal error: No valid cgroup for machine c1 > Can you give me some extra debug log? > My cgroups seem to be mounted: > > cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,release_agent=/run/current-system/systemd/lib/systemd/systemd-cgroups-agent,name=systemd) > cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset) > cgrou...
2009 Apr 16
1
[PATCH 1/5] bio-cgroup: Introduction
...unctionality to control asynchronous I/Os with a little enhancement. Setting up bio-cgroup ===================== You have to apply the patch dm-ioband_v1.9.0 before applying this series of bio-cgroup patches. And you have to select the following config options when compiling kernel. CONFIG_CGROUPS=y CONFIG_CGROUP_BIO=y And I recommend you should also select the options for cgroup memory subsystem, because it makes it possible to give some I/O bandwidth and some memory to a certain cgroup to control delayed write requests and the processes in the cgroup will be able to make pages dirty...
2009 Apr 16
1
[PATCH 1/5] bio-cgroup: Introduction
...unctionality to control asynchronous I/Os with a little enhancement. Setting up bio-cgroup ===================== You have to apply the patch dm-ioband_v1.9.0 before applying this series of bio-cgroup patches. And you have to select the following config options when compiling kernel. CONFIG_CGROUPS=y CONFIG_CGROUP_BIO=y And I recommend you should also select the options for cgroup memory subsystem, because it makes it possible to give some I/O bandwidth and some memory to a certain cgroup to control delayed write requests and the processes in the cgroup will be able to make pages dirty...
2009 Apr 16
1
[PATCH 1/5] bio-cgroup: Introduction
...unctionality to control asynchronous I/Os with a little enhancement. Setting up bio-cgroup ===================== You have to apply the patch dm-ioband_v1.9.0 before applying this series of bio-cgroup patches. And you have to select the following config options when compiling kernel. CONFIG_CGROUPS=y CONFIG_CGROUP_BIO=y And I recommend you should also select the options for cgroup memory subsystem, because it makes it possible to give some I/O bandwidth and some memory to a certain cgroup to control delayed write requests and the processes in the cgroup will be able to make pages dirty...
2013 Jun 10
2
Re: libvirt_lxc and sysfs
...host "sysfs" instance remounted read-only * /proc a new instance of the "proc" filesystem * /proc/sys the host "/proc/sys" bind-mounted read-only * /sys/fs/selinux the host "selinux" instance remounted read-only * /sys/fs/cgroup/NNNN the host cgroups controllers bind-mounted to * only expose the sub-tree associated with the container * /proc/meminfo a FUSE backed file reflecting memory limits of the * container " Can I disable this behavior? How do I specify an explicit configuration? Thanks. my container.xml: (The entire xml...
2013 Aug 26
2
How to deal with LXC cgroup access control with apparmor ?
I am playing with libvirt 1.1.1 (lxc) when I was starting a LXC container, the process location of cgroup is pretty , just the root directory from the process. But I could tune the cgroup in a container as an user that logged, This is not accepted... I wonder how to restrict it with apparmor ,so one can not modify files in the cgroup fs, e.g the cpus or mem, if i restrict it with "deny
2013 Jun 07
0
Re: cgroup error starting domains
Tried with commenting out cgroup_controllers but with no change. Tried also unmounting /sys/fs/cgroup and mount the cgroups in a subfolder hierarchy manually but it remounted still all together (I think this is related at the unmounting support going away, I'm with kernel 3.10-rc4 on the test machine). So I had a look at Slackware's init system's scripts: /sys/fs/cgroup is mounted in /etc/rc.d/rc.S, the mai...
2017 Feb 26
1
error : Failed to switch root mount into slave mode: Permission denied
...elatime,gid=5,mode=620,ptmxmode=666 0 0 tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0 tmpfs /run tmpfs rw,nosuid,nodev,mode=755 0 0 tmpfs /sys/fs/cgroup tmpfs ro,nosuid,nodev,noexec,mode=755 0 0 cgroup /sys/fs/cgroup/systemd cgroup rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd 0 0 cgroup /sys/fs/cgroup/memory cgroup rw,nosuid,nodev,noexec,relatime,memory 0 0 cgroup /sys/fs/cgroup/cpu,cpuacct cgroup rw,nosuid,nodev,noexec,relatime,cpu,cpuacct 0 0 cgroup /sys/fs/cgroup/net_cls,net_prio cgroup rw,nosuid,nodev,noexec,relatime,net_cls,net_prio 0 0 cgroup /s...
2009 Aug 24
1
[PATCH 1/8] blkio-cgroup-v11: Introduction
Hi all, This is a new release of blkio-cgroup v11. Changes: - The function cgroup_get_from_page() is added which determines to which cgroup a given page belongs. This function is introduced from Vivek's io-controller patch. Thanks Vivek. - Fix a type mismatch of the refcount of io_context. The refcount has been changed to atomic_long_t. This patch can be applied to 2.6.31-rc7. The