Message350511
BPO https://bugs.python.org/issue34651 disabled fork in subinterpreters. The patch also disabled fork() in _posixsubprocess.fork_exec(). This broke the ability to spawn subprocesses in mod_wsgi daemons, which use subinterpreters. Any attempt to spawn (fork + exec) a subprocess fails with "RuntimeError: fork not supported for subinterpreters":
...
File "/usr/lib64/python3.8/subprocess.py", line 829, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib64/python3.8/subprocess.py", line 1608, in _execute_child
self.pid = _posixsubprocess.fork_exec(
RuntimeError: fork not supported for subinterpreters
Also see https://bugzilla.redhat.com/show_bug.cgi?id=1745450 |
|
Date |
User |
Action |
Args |
2019-08-26 08:42:32 | christian.heimes | set | recipients:
+ christian.heimes, vstinner, eric.snow |
2019-08-26 08:42:32 | christian.heimes | set | messageid: <1566808952.7.0.710040972846.issue37951@roundup.psfhosted.org> |
2019-08-26 08:42:32 | christian.heimes | link | issue37951 messages |
2019-08-26 08:42:32 | christian.heimes | create | |
|