Skip to content

Set multiprocessing start method#73

Open
benferreri wants to merge 1 commit into
ZivaVatra:version5from
benferreri:mp-start-method
Open

Set multiprocessing start method#73
benferreri wants to merge 1 commit into
ZivaVatra:version5from
benferreri:mp-start-method

Conversation

@benferreri

Copy link
Copy Markdown

In Python 3.14, the default start method on Linux systems changed from fork to forkserver.
The forkserver start method is incompatible with the logic that waits for all child processes to die (the server process lingers).

Therefore, we explicitly set the start method to fork, which does not face the same issue.

Relevant documentation:

https://docs.python.org/3/library/multiprocessing.html#multiprocessing-start-methods

Closes #72.

In Python 3.14, the default start method on Linux systems
changed from `fork` to `forkserver`.
The `forkserver` start method is incompatible with the logic
that waits for all child processes to die (the server process lingers).

Therefore, we explicitly set the start method to `fork`, which does not
face the same issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant