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

Unhealthy tasks are being stopped gracefully

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Won't Do
    • Affects Version/s: Marathon 1.5.5
    • Fix Version/s: None
    • Component/s: Health & Readiness
    • Labels:

      Description

      When a task becomes unhealthy and exceeds maxConsecutiveFailure, Marathon starts to kill the task the same way as when upgrading/restarting application:

       

      SIGTERM -> taskKillGracePeriodSeconds -> SIGKILL
      

      However there's no reason to let unhealthy task finish his job. Killing it asap with SIGKILL should be done instead.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              bydga bydga
              Team:
              Orchestration Team
              Watchers:
              bydga, Matthias Eichstedt, Tim Harper
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: