Why many of the PIDs in tasks file under cgroup relate to processes which are no longer running ?

Solution Unverified - Updated -

Issue

  • Why many of the PIDs in tasks file under /cgroup relate to processes which are no longer running ?
  • PIDs related to stopped processes should be automatically removed from the tasks file in cgroup.
  • Is this an expected behaviour that PID which does not exist shows under cgroup task ?
  • cgroup tasks file is not emptied when cgroup service is stopped.

Environment

  • Red Hat Enterprise Linux 6
  • cgroup

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content