Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 17374

Summary: Make hangs with large values of parallel jobs
Product: [Retired] Red Hat Linux Reporter: John William <jw2357>
Component: makeAssignee: Jakub Jelinek <jakub>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-21 18:47:45 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 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.