Bug 432368 - building openoffice.org causes OOM
Summary: building openoffice.org causes OOM
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: openoffice.org
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Caolan McNamara
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-02-11 16:34 UTC by Karsten Hopp
Modified: 2008-02-13 13:10 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-02-13 09:32:19 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
pstree output (34.78 KB, text/plain)
2008-02-13 13:09 UTC, Karsten Hopp
no flags Details

Description Karsten Hopp 2008-02-11 16:34:16 UTC
Description of problem:
during a rebuild of openoffice.org I've noticed that one perl process per CPU
was created which in turn runs up to 1 compiler process per CPU. On a 16 CPU
machine this results in up to 256 gcc/g++ process which can bring down a machine
due to an out of memory situation. I've killed the build after it used up 8G
main memory and another 10G swap.

Version-Release number of selected component (if applicable):
openoffice.org-2.4.0-6.2.fc9



Steps to Reproduce:
1. Build openoffice.org on an SMP and watch p.e. with pstree how numcpu*numcpu
processes are created.
  

Additional info:
There should be only one compiler running  for each CPU, not numcpu compiler
process per CPU

Comment 1 Caolan McNamara 2008-02-13 09:32:19 UTC
somewhat overly aggressive alright

Comment 2 Karsten Hopp 2008-02-13 13:09:50 UTC
Created attachment 294768 [details]
pstree output

Comment 3 Karsten Hopp 2008-02-13 13:10:21 UTC
... that's with 2.4.0-7.1.fc9


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