Uploaded image for project: 'Marathon'
  1. Marathon
  2. MARATHON-4442

launch_tokens seems not to work in Version 1.1.1

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Medium
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Scheduling
    • Labels:

      Description

      I am using Marathon 1.1.1 on Ubuntu14.04 and set launch_tokens to 2. From the docs I assume that this means that only 2 tasks are started within 30 seconds (default interval).

      However I can see that there seems no limit regarding the parallel starting of tasks. (have seen 5 parallel starts so far)

      Healthchecks are defined and I can see that marathon has multiple apps/tasks in Deployment state.

      The reason why i need this limit is that our applications causing a high cpu load while starting. Starting too much in parallel cause the health checks to fail and marathon will restart already running tasks which drives us deep into cpu problems.

      In addition to the above setting I have also set max_tasks_per_offer to 2

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              GitHub_hotstepper13 Frank Mueller (Inactive)
              Team:
              Orchestration Team
              Watchers:
              Jason Gilanfarr (Inactive)
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: