CPU Stressing Docker
To bypass the idle compute identification bu oracle we need to have the CPU, Memory and Network cross a certain level of utilization (as of writing this document it was 20%).
We already talked about stress-ng. Another way to stress the resources is LookBusy script on docker so lets get to it.
First install docker dependeicies and then docker
Then create a lookbusy container by using this script https://github.com/kejilion/docker/blob/main/fogforest
Required docker files will be downloaded and container will be initiated
Memory usage, unit %, can be omitted if the memory is not running
Network speed test interval, in minutes, can be omitted if you are not running the network
The number of cores occupied by the CPU will run on all cores by default if not specified. If the CPU is full, you can specify 1 core.
CPU usage, unit %, cannot be omitted, supports fixed value or range
Another configurtion with only CPU usage in both core, no memory and smaller network interval
You can check the docker status by running
Stop/Start docker container lookbusy instance by running
Terminate docker container lookbusy by running
Last updated