On Friday, 25 October 2019 06:31:03 BST Raffaele BELARDI wrote: > 8-core CPU: > > EMERGE_DEFAULT_OPTS="--quiet-build --keep-going --jobs 9 --load-average 9" > > MAKEOPTS="-j9 -l9" > > Works fine except when both Firefox and Thunderbird need update, in that > case emerge typically tries to build them in parallel and one gets OOM > killed due to insufficient swap space (1G swap, 16G RAM). I will increase > the swap but I'd like to know: Is there a way to tell emerge to normally > run 9 parallel jobs but limit to 1 when it is building one of the two > monsters?
Apart from increasing the swap space, I think the only way to avoid this condition is to spot it in advance and not allow portage to work on them both at the same time: either --exclude one of them or specify it. -- Regards, Peter.