Bug 431422 - Mock uses all memory and begins thrashing when building git
Mock uses all memory and begins thrashing when building git
Product: Fedora Hosted Projects
Classification: Retired
Component: mock (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Clark Williams
Depends On:
  Show dependency treegraph
Reported: 2008-02-04 08:00 EST by James Bowes
Modified: 2013-01-10 04:57 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-02-04 08:43:05 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description James Bowes 2008-02-04 08:00:20 EST
Description of problem:
Building versions or 1.5.4 of git with mock from either F8 or F9 causes
mock to consume all free memory and start the system thrashing. This happens
when building git's docs; passing the RPM macro '_without_docs 1' allows you to
bypass the problem. Note that a vanilla rpmbuild does not have this problem.

Presumably older versions of mock were able to build git, however I have not yet
tried to track down a version that works.

Version-Release number of selected component (if applicable):

How reproducible:
Every time on x86_64. Note however that the PPC builds on koji completed:

Steps to Reproduce:
run mock on a git source rpm.
Actual results:
mock consumes all memory

Expected results:
The build completes successfully, using a reasonable amount of system resources.

Additional info:
Comment 1 James Bowes 2008-02-04 08:43:05 EST
Ok, so builds against a fedora 8 buildroot complete just fine. It must be a bug
in something git uses during the build. Sorry for the noise.

Note You need to log in before you can comment on or make changes to this bug.