Hi,

As we discussed in cgroup session, I tried to create a .py file under
/sys/fs/cgroup/memory/resgp01 but it gave error permission denied, it is
not allowing to create any file.

What might be the problem?

These are the steps I followed
1. sudo su -

2. ls -l /sys/fs/cgroup/

3. cd /sys/fs/cgroup/memory/

4. pwd
    /sys/fs/cgroup/memory/
    mkdir resgp01
    cd resgp01

5. echo "10485760" > memory.limit_in_bytes

6. echo "0" > memory.swappiness

7. ps
    echo $$
    echo $$ > /sys/fs/cgroup/memory/resgp01/tasks

8. vim fill_up.py -- error cannot open the file for writing
9. touch fill_up.py --- error cannot touch 'fill_up.py' permission denied

Regards
Ajay Kumar Gaddam

Reply via email to