Skip to content

Psutil not detecting correct child processes #747

Open

Description

@wk9874

CPU resource utilization metrics for MPI jobs on SLURM systems appear to be inaccurate, suspect since psutil is not identifying the correct child processes of the main job:

 executor _processes dict_values([<Popen: returncode: None args: ['mpiexec', '-n', '20', 'fds', 'office_atria_...>])
child psutil.Process(pid=2546114, name='srun', status='sleeping', started='14:29:20')
child psutil.Process(pid=2546115, name='srun', status='sleeping', started='14:29:20')
child psutil.Process(pid=2546115, name='srun', status='sleeping', started='14:29:20')

Would expect to see a series of FDS child processes for each of the 20 cores it is running across, instead just see srun...

Activity

  1. added theissue type on Mar 6, 2025
  2. added this to the milestone on Jun 9, 2025
  3. removed this from the milestone on Jun 9, 2025
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

    backlogWaiting to be resolved

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions