Closed xmfcx closed 3 months ago
Ok works after removing the quotes too:
Even with the nice command, https://github.com/autowarefoundation/autoware.universe/actions/runs/10454375310/job/28946832098?pr=8498
this one has lost connection due to resource overuse.
Machine had 15GB RAM and 8vCPU and 0 swap.
Added a specs step for these: https://github.com/autowarefoundation/autoware.universe/actions/runs/10454375310/job/28946832098?pr=8498#step:5:1
We can still merge this but I will create another PR that enables user to set parallel workers or makeflags
Description
nice
is part of GNU coreutils, let's you run a program with modified scheduling priority.Comes bundled in the our Ubuntu containers.
This PR aims to utilize it to prevent
colcon build
from overusing the runner resources.man page
I set the default to be 19 in this PR.
Original default was 10.
Related PR:
Failure example for a runner due to over-usage of a machine during colcon build:
https://github.com/autowarefoundation/autoware.universe/actions/runs/10419516744/attempts/1
Tests performed
Effects on system behavior
Not applicable.
Interface changes
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.
In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.
Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.
After all checkboxes are checked, anyone who has write access can merge the PR.