Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Agent keeps track of processes and child processes created for jobs. The Watchdog Script will pick up this information and will proceed as follows:

  • if a period is
  • send all processes and child processes created by the Agent the SIGTERM signal,
  • wait for the period specified with the --sigkill-delay option of the Agent Start Script, see JS7 - Agent Command Line Operation.
    • send job processes and child processes the SIGTERM signal,
    • wait for termination of job processes and child processes,
  • send remaining processes and child processes the SIGKILL signal.

...

The Watchdog Script will capture output to the stdout/stderr channels through the lifetime of an the Agent.

Log output is stored to the <agent-data>/logs/watchdog.log file.

  • The log file reports the command line used to start the Agent.
  • The log file holds information about use of a JS7 - License.
  • The log file is an important source for analysis in case of problems:
    • Any warnings and errors that will not make it for Log4j logging is are reported to the log file.
    • The same applies to warnings and errors that occur before the JVM is initialized and before Log4j logging can start, for example if an incomptible Java version is used when starting the Agent.

...

  • The Agent cannot be restarted when operated for Unix or Windows.
  • The reset and reset forced operations on Agents available from the JOC Cockpit GUI cannot be performed.
  • In case of Agent crash no job processes and related child processes will be terminated.No logging to the watchdog.log file will be performed.

Besides the above effects the Agent will continue normal operation if the Watchdog process is not available.

...