This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: os.wait child process fail when under stress
Type: Stage:
Components: Interpreter Core Versions: Python 2.6
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: loewis, nnorwitz, thegroff
Priority: normal Keywords:

Created on 2007-02-13 13:44 by thegroff, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (4)
msg31252 - (view) Author: The Groff (thegroff) Date: 2007-02-13 13:44
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.
msg31253 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2007-02-13 15:57
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?
msg31254 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2007-02-25 22:19
Note that on some versions of Linux 2.4, calling wait() can return ECHILD even when there is a child.
msg31255 - (view) Author: The Groff (thegroff) Date: 2007-02-26 08:23
We were using linux kernel 2.4.21-37. I can then be a bug in the os. I'll try to look deeper into it. 
Thanks
History
Date User Action Args
2022-04-11 14:56:22adminsetgithub: 44577
2007-02-13 13:44:01thegroffcreate