Skip to content

Multiprocessing with start-method "fork" results in hang on shutdown #1921

@jleibs

Description

@jleibs

Can be reproduced with the multiprocessing demo.

Current workaround is to always force "spawn":

multiprocessing.set_start_method("spawn")

However, needing to do this will definitely bite Linux users since "fork" is the default.

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

Metadata

Metadata

Assignees

Labels

sdk-pythonPython logging APIuser-requestThis is a pressing issue for one of our users🐧 linuxLinux-specific problems🪳 bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions