[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #51159] pselect jobserver stuck at read does not reap children
From: |
Koen Van Hoof |
Subject: |
[bug #51159] pselect jobserver stuck at read does not reap children |
Date: |
Fri, 2 Jun 2017 06:44:14 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0 |
URL:
<http://savannah.gnu.org/bugs/?51159>
Summary: pselect jobserver stuck at read does not reap
children
Project: make
Submitted by: kvho
Submitted on: Fri 02 Jun 2017 12:44:13 PM CEST
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Component Version: 4.2.1
Operating System: POSIX-Based
Fixed Release: None
Triage Status: None
_______________________________________________________
Details:
When using parallel recurse make, several child make processes will be
waiting in pselect.
When some make is writing a token in the pipe, several of these processes will
leave the pselect, and trying to read the pipe.
Only 1 will actually get the token. All others will be blocked in the read.
Eventually tokens will be written to the pipe, unblocking these make
processes.
Solution : make the pipe non blocking, in order for all the processes that
miss the token to call pselect again.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Fri 02 Jun 2017 12:44:13 PM CEST Name: patch Size: 902B By: kvho
<http://savannah.gnu.org/bugs/download.php?file_id=40839>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?51159>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #51159] pselect jobserver stuck at read does not reap children,
Koen Van Hoof <=