Project

General

Profile

Actions

Bug #13858

closed

No way to limit parallelism on low-memory builders

Added by Nathan Cutler over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

In the openSUSE Build Service, _smp_mflags often gets set to a high number, like -j16 yet the amount of memory available to the build worker is typically no higher than 8GB. This reliably causes the build to fail due to OOM.

Actions #1

Updated by Nathan Cutler over 8 years ago

  • Subject changed from _smp_mflags must be limited to -j8 on openSUSE Build Service to No way to limit parallelism on low-memory builders
  • Status changed from New to In Progress

There is a twist here, because if we put a hard upper limit of -j8 for all SUSE builds, this has a potential adverse affect on SUSE builds happening outside the OBS.

Instead of making the limit conditional upon SUSE, we can use the already existing lowmem_builder bcond to control this.

Actions #3

Updated by Nathan Cutler over 8 years ago

  • Status changed from In Progress to Fix Under Review
Actions #4

Updated by Nathan Cutler over 8 years ago

  • Status changed from Fix Under Review to Resolved
  • Backport deleted (infernalis,hammer)
Actions

Also available in: Atom PDF