Bug 431422 - Mock uses all memory and begins thrashing when building git
Summary: Mock uses all memory and begins thrashing when building git
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora Hosted Projects
Classification: Retired
Component: mock
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Clark Williams
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-02-04 13:00 UTC by James Bowes
Modified: 2013-01-10 09:57 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-02-04 13:43:05 UTC
Embargoed:


Attachments (Terms of Use)

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.


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