Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add tips for using multiprocessing fork in macos #5379

Merged
merged 1 commit into from
Nov 11, 2022

Conversation

ZiniuYu
Copy link
Member

@ZiniuYu ZiniuYu commented Nov 11, 2022

Goals:

This PR adds tips for using multiprocessing fork in macOS.

Basically, Apple has changed the usage of fork() and exec() of Objective-C since MacOS 10.13. Read here.
This may cause Flow to hang at starting stage.

This PR add a fix to the issue by setting OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES

@github-actions github-actions bot added size/S area/docs This issue/PR affects the docs labels Nov 11, 2022
@JoanFM JoanFM closed this Nov 11, 2022
@JoanFM JoanFM reopened this Nov 11, 2022
@github-actions
Copy link

📝 Docs are deployed on https://docs-multiprocessing-fork-mac--jina-docs.netlify.app 🎉

@JoanFM JoanFM merged commit d06dd89 into master Nov 11, 2022
@JoanFM JoanFM deleted the docs-multiprocessing-fork-mac branch November 11, 2022 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/docs This issue/PR affects the docs size/S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants