Comment 3 for bug 1561658

Revision history for this message
Gustavo Romero (gromero) wrote : Re: “Cannot fork” and "Resource temporary unavailable"

We can also check the different behavior of cgroups on ppc64le and on amd64 by means of specifying the exact cgroups under which we execute 'make':

## ppc64le
make clean; sudo cgexec -g devices:/system.slice --sticky make -j500 ## Fails on ppc64le
make clean; sudo cgexec -g devices:/system.slice/ssh.service --sticky make -j500 ## Fails on ppc64le
make clean; sudo cgexec -g pids:/system.slice --sticky make -j500 ## Works on ppc64le
make clean; sudo cgexec -g pids:/system.slice/ssh.service --sticky make -j500 ## Fails on ppc64le

## amd64
make clean; sudo cgexec -g devices:/system.slice --sticky make -j500 ## Works on x64
make clean; sudo cgexec -g devices:/system.slice/ssh.service --sticky make -j500 ## Works on x64
make clean; sudo cgexec -g pids:/system.slice --sticky make -j500 Makefile Makefile Makefile ## Cgroup does not exist on x64
make clean; sudo cgexec -g pids:/system.slice/ssh.service --sticky make -j500 ## Cgroup does not exist on x64