Bug 17374 - Make hangs with large values of parallel jobs
Summary: Make hangs with large values of parallel jobs
Status: CLOSED DUPLICATE of bug 142691
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: make
Version: 8.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-09-09 05:17 UTC by John William
Modified: 2007-04-18 16:28 UTC (History)
0 users

(edit)
Clone Of:
(edit)
Last Closed: 2006-02-21 18:47:45 UTC


Attachments (Terms of Use)

Description John William 2000-09-09 05:17:26 UTC
Standard RH6.2 distro with make-3.78.1-4.

Passing make a large number of jobs, either as "-j n" or as "--jobs==n" 
will hang make for large values of "n". The magic number appears to be 
4098 on my test system. "make -j 4097" works correctly. "make -j 4098" 
hangs.

Note that make itself hangs - this isn't a problem with trying to spawn 
too many processes. Make will hang even when all targets are up-to-date.

Comment 1 Bill Nottingham 2000-09-12 23:04:05 UTC
It fills up the pipe it uses (one character from each job, 4096
byte standard pipe buffer.)

Comment 2 Alan Cox 2002-12-15 01:39:23 UTC
Still present in 8.0 - make should be erroring this


Comment 3 John William 2004-12-12 23:00:38 UTC

*** This bug has been marked as a duplicate of 142691 ***

Comment 4 Red Hat Bugzilla 2006-02-21 18:47:45 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.


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