Skip to content

socketserver.ForkingMixIn leaves zombies, also fails to reap all zombies in one pass #55318

@jwarkentin

Description

@jwarkentin
mannequin
BPO 11109
Nosy @gpshead, @orsenthil, @vstinner, @giampaolo, @iritkatriel
Files
  • collect_children.patch: Patch to collect children in serve_forever() instead of process_request()
  • loop_actions.patch: Defines a _loop_actions() method that can be overriden by a subclass. Implements collect_children() in ForkingMixIn._loop_actions().
  • loop_actions.patch: Same as previous patch, but renames _loop_actions() to loop_actions() and adds it to the list of overridable methods.
  • 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 = 'https://github.com/orsenthil'
    closed_at = <Date 2021-11-29.23:39:08.897>
    created_at = <Date 2011-02-03.22:01:13.247>
    labels = ['type-bug', 'library']
    title = 'socketserver.ForkingMixIn leaves zombies, also fails to reap all zombies in one pass'
    updated_at = <Date 2021-11-29.23:39:08.896>
    user = 'https://bugs.python.org/jwarkentin'

    bugs.python.org fields:

    activity = <Date 2021-11-29.23:39:08.896>
    actor = 'iritkatriel'
    assignee = 'orsenthil'
    closed = True
    closed_date = <Date 2021-11-29.23:39:08.897>
    closer = 'iritkatriel'
    components = ['Library (Lib)']
    creation = <Date 2011-02-03.22:01:13.247>
    creator = 'jwarkentin'
    dependencies = []
    files = ['20665', '20693', '20695']
    hgrepos = []
    issue_num = 11109
    keywords = ['patch']
    message_count = 20.0
    messages = ['127825', '127972', '128026', '128033', '128036', '128037', '128039', '128045', '132441', '132519', '136392', '136760', '136866', '136867', '136869', '136894', '136930', '136933', '171769', '407336']
    nosy_count = 7.0
    nosy_names = ['gregory.p.smith', 'orsenthil', 'vstinner', 'giampaolo.rodola', 'jwarkentin', 'python-dev', 'iritkatriel']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue11109'
    versions = ['Python 3.3']

    Metadata

    Metadata

    Assignees

    Labels

    stdlibStandard 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