View Single Post
Posts: 856 | Thanked: 1,681 times | Joined on Apr 2010 @ Aleppo ,Syria
#43
Originally Posted by lidow View Post
@karam,

after executing the cgroup_clean script, rc.local remains empty. I have bash installed anyway I tried both version ash and bash.
Also if rc.local does not exists the script do not create it.

I looked in you script and understand that infact this should be present in rc.local, so I add it manually.

mkdir -p /dev/cgroup/cpu
mount -t cgroup cgroup /dev/cgroup/cpu -o cpu
mkdir -m 0777 /dev/cgroup/cpu/user
echo "/usr/local/sbin/cgroup_clean" > /dev/cgroup/cpu/release_agent
Looks like you didn't reboot

well after a reboot cgroup folder will be created (that is why speedpatch is in event.d

and for rc.local run the patch twice to get created
i will edit this in 1#post