Bug 431422

Summary: Mock uses all memory and begins thrashing when building git
Product: [Retired] Fedora Hosted Projects Reporter: James Bowes <jbowes>
Component: mockAssignee: Clark Williams <williams>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: bkearney, dcantrell
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-02-04 13:43:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description James Bowes 2008-02-04 13:00:20 UTC
Description of problem:
Building versions 1.5.3.3 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):
mock-0.8.19
mock-0.9.7

How reproducible:
Every time on x86_64. Note however that the PPC builds on koji completed:
http://koji.fedoraproject.org/koji/taskinfo?taskID=393542

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 13:43:05 UTC
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.