# Jobs processes ending up in the wrong cgroup

**URL:** <https://community.openpbs.org/t/jobs-processes-ending-up-in-the-wrong-cgroup/3981>\
**Category:** Users/Site Administrators\
**Created:** [September 9, 2024, 9:17pm UTC](https://community.openpbs.org/t/jobs-processes-ending-up-in-the-wrong-cgroup/3981 "2024-09-09T21:17:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AaronJanssen](https://avatars.discourse-cdn.com/v4/letter/a/b19c9b/32.png) [@AaronJanssen](https://community.openpbs.org/u/AaronJanssen)\
**Post date:** [September 9, 2024, 9:17pm UTC](https://community.openpbs.org/t/jobs-processes-ending-up-in-the-wrong-cgroup/3981/1 "2024-09-09T21:17:36Z")

</div>

We have recently migrated our cluster to new versions of quite a few pieces of our software (PBS, RHEL, Cluster manager) and we are encountering a new issue with our cgroups.

Semi-randomly one of the PBS cgroups that are meant for a single job /pbspro.service/jobid/7423.server0/ for example, will contain more processes than it should from other jobs.

When the job which corresponds to that job id finishes it takes all of the other processes with it causing the jobs to get killed.

From my looking our issue seems to be the exact same as this

> **[jobs being killed with this in the .e file "bash: line 1: 108753 Killed ...](https://community.altair.com/community/en?id=community_question&sys_id=558c2c37db5a71d0cfd5f6a4e2961975)**
>
> jobs being killed with this in the .e file "bash: line 1: 108753 Killed /cm/local/apps/pbspro/var/spool/mom\_priv/jobs/964223.polaris.SC" - I submit 32 simple hello world batch jobs and 1/3 or more will die with the in the .e...

I can provide additional information if needed. Has anyone ever encountered this issues before? From our tests this is pretty widespread and could affect any node that has multiple jobs on it, but it is not consistent.

Thank you,  
Aaron

---

<div class="post-metadata">

**Author:** ![AaronJanssen](https://avatars.discourse-cdn.com/v4/letter/a/b19c9b/32.png) [@AaronJanssen](https://community.openpbs.org/u/AaronJanssen)\
**Post date:** [September 12, 2024, 4:17pm UTC](https://community.openpbs.org/t/jobs-processes-ending-up-in-the-wrong-cgroup/3981/2 "2024-09-12T16:17:27Z")

</div>

The external application in our case was Bright Cluster Manager, I guess it was a known bug.

The fix we used was to update our versions of our daemons from Bright on our compute nodes.
