Skip to content

CPU & memory resource usage not measured when set_pid is used #718

Open

Description

@alahiff

Version tested: 2.0.0a1

Activity

  1. added theissue type on Feb 21, 2025
  2. added this to the v2.0.0-rc1 milestone on Feb 21, 2025
  3. self-assigned this
    on Feb 24, 2025
  4. added
    in progressWork is being done to resolve this issue
    and removed
    backlogWaiting to be resolved
    on Feb 24, 2025
  5. wk9874 commented on Feb 24, 2025

    @wk9874
    Collaborator

    This will probably be because set_pid updates self._pid, but self._parent_process, which is used in the generation of the lists of processes to collect stats from, is only set equal to self._pid inside run.init(). To fix, just going to add a self._parent_process = psutil.Process(self._pid) into set_pid

  6. added
    in reviewThis issue is resolved in a Pull Request which is being reviewed
    ready for testingThis issue has been fixed and is ready for testing
    and removed
    in progressWork is being done to resolve this issue
    in reviewThis issue is resolved in a Pull Request which is being reviewed
    on Feb 25, 2025
  7. assigned and unassigned on Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ready for testingThis issue has been fixed and is ready for testing

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions