Bug 431422 - Mock uses all memory and begins thrashing when building git
Mock uses all memory and begins thrashing when building git
Status: CLOSED NOTABUG
Product: Fedora Hosted Projects
Classification: Retired
Component: mock (Show other bugs)
unspecified
All Linux
low Severity low
: ---
: ---
Assigned To: Clark Williams
:
Depends On:
Blocks:
  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:
Environment:
Last Closed: 2008-02-04 08:43:05 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
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 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 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.