Skip to content

use correct resource_tracker #133

Open

Description

@mmckerns

when running the tests, a KeyError is often encountered... essentially, when a resource is meant to be deleted from the resource_tracker. It doesn't affect the tests, but it also shouldn't happen. It's thrown a good bit more in pypy, but also shows up in the python versions of multiprocess.

Traceback (most recent call last):
  File "/Users/mmckerns/lib/pypy-3.9/site-packages/multiprocess/resource_tracker.py", line 204, in main
    cache[rtype].remove(name)
KeyError: '/mp-r0ri_vew'

It's likely related to somehow the resource_tracker in multiprocess being used, along with the one in multiprocessing somewhere.

Activity

  1. mmckerns commented on Feb 15, 2023

    @mmckerns
    MemberAuthor

    Potentially related note:

    ''' #XXX: ensure correct resource_tracker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions