[issue38104] File descriptor error when subprocess call is used with event loop enabled in main thread

2019-09-13 Thread Andrew Svetlov
Andrew Svetlov added the comment: You spawn too many subprocesses that finish virtually at the same time. It leads to wakeup_fd overrun. Python 3.6 is in security mode, sorry (and the fix is impossible). Python 3.7 has warn_on_full_buffer=False flag for

[issue38104] File descriptor error when subprocess call is used with event loop enabled in main thread

2019-09-11 Thread Manoj C
New submission from Manoj C : I have been using asyncio to run subprocess calls in a separate thread. For this purpose I start an event loop in my main thread as per the recommendation - https://docs.python.org/3/library/asyncio-subprocess.html#subprocess-and-threads . Now when I use a