Author christian.heimes
Recipients christian.heimes, eric.snow, vstinner
Date 2019-08-26.08:42:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1566808952.7.0.710040972846.issue37951@roundup.psfhosted.org>
In-reply-to
Content
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
History
Date User Action Args
2019-08-26 08:42:32christian.heimessetrecipients: + christian.heimes, vstinner, eric.snow
2019-08-26 08:42:32christian.heimessetmessageid: <1566808952.7.0.710040972846.issue37951@roundup.psfhosted.org>
2019-08-26 08:42:32christian.heimeslinkissue37951 messages
2019-08-26 08:42:32christian.heimescreate