Uploaded image for project: 'JOC - JobScheduler Operations Center'
  1. JOC - JobScheduler Operations Center
  2. JOC-2068

Running Task Log causes thread exhaustion for long running jobs

    XMLWordPrintable

Details

    Description

      Current Situation

      • Some users operate jobs that are executing for weeks or months.
      • In such situations thread exahaustion can occur if the Task Log View is repeatedly opened from different users or from the same users in different sessions.
      • Threads will terminate when the job is completed. This can lead to unwanted increase of threads depending on the frequency by which the Task Log View is used for the same job.
      • When threads are exhausted then the JVM will crash. In Unix environments an Out of Memory exception can be raised. For Windows environments an Access Violation exception will be raised.

      Desired Behavior

      • Threads are closed on a timely basis when a user logs out from JOC Cockpit or when sessions expire.
      • The number of threads used for running task logs can slightly increase (ca. 20) and will decrease accordingly.

       
      Patch

      Attachments

        Issue Links

          Activity

            People

              re Robert Ehrlich
              re Robert Ehrlich
              Andreas Püschel Andreas Püschel
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: