Uploaded image for project: 'JS - JobScheduler'
  1. JS - JobScheduler
  2. JS-1550

Tasks should terminate in case of JobScheduler Agent crash

    XMLWordPrintable

Details

    Description

      Current Situation

      • A shell job is running on a JobScheduler Agent.
      • The JobScheduler Agent is crashed, for instances with a segmentation fault
      • The task continues and will be completed though the JobScheduler Agent is not available anymore.
      • This behaviour does not apply to jobs that make frequent use of the JobScheduler API.

      Desired Behavior

      • All tasks are killed immediately in case that the JobScheduler Agent crashes.
      • This feature is intended to cope with a situation when a
        • SIGKILL signal is sent to the Agent (for instance via kill -9).
        • SIGSEGV signal is sent to the Agent (for instance via kill -11)

      Implementation

      • The Agent keeps track of running tasks in a file (JS-1551)
      • The Agent start script detects that the respective Agent is terminated and will terminate any running tasks based on the file with the list of running tasks (JS-1552).

      Attachments

        Issue Links

          Activity

            People

              ap Andreas PĆ¼schel
              vg Victor Garcia-Beltran (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: