[ python-Bugs-1658959 ] os.wait child process fail when under stress

SourceForge.net noreply at sourceforge.net
Sun Feb 25 23:19:29 CET 2007


Bugs item #1658959, was opened at 2007-02-13 05:44
Message generated for change (Comment added) made by nnorwitz
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1658959&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Threads
Group: Python 2.6
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: The Groff (thegroff)
Assigned to: Nobody/Anonymous (nobody)
Summary: os.wait child process fail when under stress

Initial Comment:
when having high amount of threads forking, os.wait fails from time to time giving a "No child" error". If you retry, eventually it will work.

----------------------------------------------------------------------

>Comment By: Neal Norwitz (nnorwitz)
Date: 2007-02-25 14:19

Message:
Logged In: YES 
user_id=33168
Originator: NO

Note that on some versions of Linux 2.4, calling wait() can return ECHILD
even when there is a child.

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2007-02-13 07:57

Message:
Logged In: YES 
user_id=21627
Originator: NO

What operating system are you using? 

Why do you think this is a bug in Python and not in your operating
system?

Are you sure there are any unwaited-for children when ECHILD is returned?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1658959&group_id=5470


More information about the Python-bugs-list mailing list