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

Slave should provide details on processes running in its cgroups

    Details

    • Target Version/s:
    • Sprint:
      Twitter Mesos Q1 Sprint 6
    • Story Points:
      1

      Description

      The slave can optionally be put into its own cgroups for a list of subsystems, e.g., for monitoring of memory and cpu. See the slave flag: --slave_subsystems

      It currently refuses to start if there are any processes in its cgroups - this could be another slave or some subprocess started by a previous slave - and only logs the pids of those processes.

      Improve this to log details about the processes: suggest at least the process command, uid running it, and perhaps its start time.

        Issue Links

          Activity

          Hide
          jieyu Jie Yu added a comment -
          Show
          jieyu Jie Yu added a comment - https://reviews.apache.org/r/32742
          Hide
          jieyu Jie Yu added a comment -

          commit 2b5e5b4c399174c8890727344b0acb9b8da5d6d3
          Author: Jie Yu <yujie.jay@gmail.com>
          Date: Wed Apr 1 13:05:15 2015 -0700

          Added command logging for processes running in slave's cgroup.

          Review: https://reviews.apache.org/r/32742

          Show
          jieyu Jie Yu added a comment - commit 2b5e5b4c399174c8890727344b0acb9b8da5d6d3 Author: Jie Yu <yujie.jay@gmail.com> Date: Wed Apr 1 13:05:15 2015 -0700 Added command logging for processes running in slave's cgroup. Review: https://reviews.apache.org/r/32742

            People

            • Assignee:
              jieyu Jie Yu
              Reporter:
              idownes Ian Downes
              Shepherd:
              Ian Downes
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development

                  Agile