@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