Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-859

Cgroup kill should use cgroup.procs, not tasks

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.13.0, 0.14.0, 0.14.1, 0.14.2, 0.15.0
    • Fix Version/s: 0.16.0
    • Component/s: containerization
    • Labels:
      None

      Description

      The cgroup kill() code uses tasks but this gives all the threads running in the cgroup; we should use the cgroup.procs interface to get the processes to kill (taking their threads with them).

      This probably contributes to warning messages about not being able to find pids because we're looking for tids.

        Attachments

          Activity

            People

            • Assignee:
              idownes Ian Downes
              Reporter:
              idownes Ian Downes
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: