Skip to main content

Terminate Unresponsive Run on Server Backup Jobs

27 Mar, 2025

Article ID

5091

Product Version

AhsayCBS: v9.1 or above

Operating System

All Platforms

Description

This Know How article will provide instructions on how to terminate backup jobs in situations where a Run on Server backup job encounters errors/warnings, becomes unresponsive, appears to be "stuck", or even crashes. Follow the method below to terminate the problematic backup job.

Solution

In situations where a Run on Server backup job encounters errors/warnings, becomes unresponsive or appears to be "stuck", or even crashes; the following methods can be used to terminate the problematic backup job.

Terminate a Run on Server backup job in this order:

  1. Use the Stop button in AhsayCBS.

    Stop backup job

    This will only work for manually triggered backup job.
  2. Create an empty "stop" file in %USER_HOME%/%user%/ipc/BackupSet/%backup set ID%/ if "running" is found.

    In AhsayCBS for Windows:

    Create empty stop file

    In AhsayCBS for Linux/FreeBSD:

    # touch /usr/local/cbs/user/ROSUser/ipc/BackupSet/1593753612991/stop

    In AhsayUBS

    # touch /ubs/mnt/esfmfw/obsr/system/obsr/user/jbl/ipc/BackupSet/1594198116726/stop
  3. Use the Windows Task Manager to end task or kill in Linux.

    In AhsayCBS for Windows:

    Go to the Windows Task Manager, select the backup job (java.exe) that you want to stop and click End Task.

    Windows Task Manager

    In AhsayCBS for Linux:

    Type ps -aux|grep java. Locate the process ID of the backup job (%java home% -Xms%xms% - Xmx%xmx% -XX:MaxDirectMemorySize=1024) that you want to stop. Then use the kill command.

    Kill task in Linux

    In AhsayCBS for FreeBSD:

    Use the ps -aux|grep java command to locate the process ID of the backup job (%java home% -Xms%xms% - Xmx%xmx% -XX:MaxDirectMemorySize=1024) that you want to stop. Check the details of the Run on Server backup Java process to make sure that you are terminating the correct backup job by using the procstat –c [process ID] command. Then use the kill command.

    Kill task in FreeBSD