Skip to content

multiprocessing.Pool hangs atexit (and garbage collection sometimes) #82682

@larsoner

Description

@larsoner
mannequin
BPO 38501
Nosy @cjrh, @stefanor, @pablogsal, @miss-islington, @larsoner
PRs
  • bpo-35493: Use Process.sentinel instead of sleeping for polling worker status in multiprocessing.Pool #11488
  • bpo-38501: Add a warning section to multiprocessing.Pool docs about resource managing #19466
  • [3.8] bpo-38501: Add a warning section to multiprocessing.Pool docs about resource managing (GH-19466) #19467
  • [3.7] bpo-38501: Add a warning section to multiprocessing.Pool docs about resource managing (GH-19466) #19468
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2020-04-10.16:10:33.859>
    created_at = <Date 2019-10-16.18:31:14.663>
    labels = ['3.8', 'type-bug', 'library']
    title = 'multiprocessing.Pool hangs atexit (and garbage collection sometimes)'
    updated_at = <Date 2020-04-11.02:11:20.736>
    user = 'https://github.com/larsoner'

    bugs.python.org fields:

    activity = <Date 2020-04-11.02:11:20.736>
    actor = 'miss-islington'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-04-10.16:10:33.859>
    closer = 'pablogsal'
    components = ['Library (Lib)']
    creation = <Date 2019-10-16.18:31:14.663>
    creator = 'larsoner'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 38501
    keywords = ['patch']
    message_count = 14.0
    messages = ['354813', '354824', '361464', '366133', '366134', '366135', '366136', '366137', '366142', '366145', '366147', '366178', '366179', '366180']
    nosy_count = 8.0
    nosy_names = ['cjrh', 'stefanor', 'ralf.gommers', 'pablogsal', 'miss-islington', 'larsoner', 'Andrew Nelson', 'Paul Silisteanu']
    pr_nums = ['11488', '19466', '19467', '19468']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue38501'
    versions = ['Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.8 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions