Per Jessen said the following on 11/20/2010 12:23 PM:
Anton Aylward wrote:
Per Jessen said the following on 11/20/2010 08:53 AM:
Per Jessen wrote:
I have 2.6.36-18-pae, the mount point exists. I don't remember having to do anything extra.
Ignore that, same issue here, i.e. /sys/fs/cgroup/cpu does not exist.
As far as I can see, there is supposed to be some initialization code in /etc/init.d/cgconfig that expect there to have been "cgroup"entries in /etc/fstab and hence /proc/mounts
It looks like it's expecting a file /etc/cgconfig.conf first of all. There is a man page for that. I created one like this:
mount { cpu = /mnt/cgroups/cpu; }
Then I mounted:
mount -t cgroup cgroup /mnt/cgroups/cpu -o cpu
So far so so good, but the bashrc script still expects to find a 'user' directory under cpu/, which isn't there.
Try the "ubuntu" variant, with /etc/rc.d/boot.local, but with "/mnt" instead of "/dev" and that includes the line mkdir -m 0777 /mnt/cgroup/cpu/user You can reboot or jsut run that file by hand as root. The the ~/.bashrc for "unbuntu" with the mnt/dev tweak as well. Hmm. It ought to go into ~/.xinitrc as well ?? -- Though force can protect in emergency, only justice, fairness, consideration and co-operation can finally lead men to the dawn of eternal peace. -- Dwight D. Eisenhower -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org