OpenVZ Forum


Home » General » Support » OpenVZ and cgroups (unable to mount subsystems)
OpenVZ and cgroups [message #48842] Mon, 17 December 2012 14:12 Go to next message
polarfoxlt is currently offline  polarfoxlt
Messages: 1
Registered: December 2012
Junior Member
Hello,

I have a problem mounting cgroups on hw node (Debian Squeeze):

# mount none -t cgroup /cgroup
mount: none already mounted or /cgroup busy


It is only possible to mount perf_event and net_prio subsystems. /proc/cgroups shows that some subsystems are in use:

# cat /proc/cgroups
#subsys_name    hierarchy       num_cgroups     enabled
cpuset  2       7       1
cpu     2       7       1
cpuacct 2       7       1
devices 3       6       1
freezer 3       6       1
net_cls 0       1       1
blkio   1       7       1
perf_event      0       1       1
net_prio        0       1       1


But there are no entries in /proc/mounts related to cgroups:

# cat /proc/mounts | grep cgroup
#


cgroup-bin daemons are disabled.

Some info about system:

# uname -a
Linux alytus 2.6.32-042stab065.3 #1 SMP Mon Nov 12 21:59:14 MSK 2012 x86_64 GNU/Linux


# cat /boot/config-2.6.32-042stab065.3 | grep CGROUP
CONFIG_CGROUP_SCHED=y
CONFIG_CGROUPS=y
# CONFIG_CGROUP_DEBUG is not set
CONFIG_CGROUP_FREEZER=y
CONFIG_CGROUP_DEVICE=y
CONFIG_CGROUP_CPUACCT=y
CONFIG_BLK_CGROUP=y
# CONFIG_DEBUG_BLK_CGROUP is not set
CONFIG_CGROUP_PERF=y
CONFIG_NET_CLS_CGROUP=y
CONFIG_NETPRIO_CGROUP=y


cgroups-bin daemons are disabled so no groups are mounted upon system startup.

Maybe somebody else is also experiencing similar problems?

Re: OpenVZ and cgroups [message #48877 is a reply to message #48842] Wed, 26 December 2012 15:00 Go to previous message
koct9i is currently offline  koct9i
Messages: 51
Registered: February 2008
Member
check this http://bugzilla.openvz.org/show_bug.cgi?id=2466
Previous Topic: Openvz 64bit host with guest running 32bit memory limits
Next Topic: Kernel issue
Goto Forum:
  


Current Time: Mon Aug 05 10:13:44 GMT 2024

Total time taken to generate the page: 0.03225 seconds