SET - Setups
  1. SET - Setups
  2. SET-136

When calling bin/jobscheduler.sh version|kill process are not closed

    Details

    • Type: Fix Fix
    • Status: Released (View Workflow)
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.12.4
    • Fix Version/s: 1.12.5
    • Labels:
      None

      Description

      Current Situation

      • When calling bin/jobscheduler.sh kill|version commands, start a process, but this OS process remains active

      How to reproduce

      • Call bin/jobscheduler.sh version 3 times from the command line
      • Check the OS process e.g. ps -ef | grep -i <jobscheduiler_id>
      • Check the running process associated with the JobScheduler ID
        docker@osboxes:/opt/sos-berlin.com/jobscheduler/jobscheduler12$ ps -ef | grep jobscheduler12
        docker    3421     1 99 03:18 ?        00:00:22 /opt/sos-berlin.com/jobscheduler/jobscheduler12/bin/scheduler -exclusive -service -id=JobScheduler12 -sos.ini=/home/docker/sos-berlin.com/jobscheduler/jobscheduler12/config/sos.ini -ini=/home/docker/sos-berlin.com/jobscheduler/jobscheduler12/config/factory.ini -config=/home/docker/sos-berlin.com/jobscheduler/jobscheduler12/config/scheduler.xml -param=/home/docker/sos-berlin.com/jobscheduler/jobscheduler12 -cd=/home/docker/sos-berlin.com/jobscheduler/jobscheduler12 -include-path=/home/docker/sos-berlin.com/jobscheduler/jobscheduler12 -pid-file=/home/docker/sos-berlin.com/jobscheduler/jobscheduler12/logs/scheduler.pid -env=LD_LIBRARY_PATH=
        docker    3439 31309  0 03:18 pts/19   00:00:00 grep --color=auto jobscheduler12
        docker@osboxes:/opt/sos-berlin.com/jobscheduler/jobscheduler12$ bin/jobscheduler.sh version
        JobScheduler engine 1.12.4-SNAPSHOT
        docker@osboxes:/opt/sos-berlin.com/jobscheduler/jobscheduler12$ bin/jobscheduler.sh version
        JobScheduler engine 1.12.4-SNAPSHOT
        docker@osboxes:/opt/sos-berlin.com/jobscheduler/jobscheduler12$ bin/jobscheduler.sh version
        JobScheduler engine 1.12.4-SNAPSHOT
        docker@osboxes:/opt/sos-berlin.com/jobscheduler/jobscheduler12$ ps -ef | grep jobscheduler12
        docker    3421     1 99 03:18 ?        00:00:30 /opt/sos-berlin.com/jobscheduler/jobscheduler12/bin/scheduler -exclusive -service -id=JobScheduler12 -sos.ini=/home/docker/sos-berlin.com/jobscheduler/jobscheduler12/config/sos.ini -ini=/home/docker/sos-berlin.com/jobscheduler/jobscheduler12/config/factory.ini -config=/home/docker/sos-berlin.com/jobscheduler/jobscheduler12/config/scheduler.xml -param=/home/docker/sos-berlin.com/jobscheduler/jobscheduler12 -cd=/home/docker/sos-berlin.com/jobscheduler/jobscheduler12 -include-path=/home/docker/sos-berlin.com/jobscheduler/jobscheduler12 -pid-file=/home/docker/sos-berlin.com/jobscheduler/jobscheduler12/logs/scheduler.pid -env=LD_LIBRARY_PATH=
        docker    3450     1 44 03:18 ?        00:00:03 /opt/sos-berlin.com/jobscheduler/jobscheduler12/bin/scheduler -service -id=JobScheduler12 -sos.ini=/home/docker/sos-berlin.com/jobscheduler/jobscheduler12/config/sos.ini -ini=/home/docker/sos-berlin.com/jobscheduler/jobscheduler12/config/factory.ini -config=/home/docker/sos-berlin.com/jobscheduler/jobscheduler12/config/scheduler.xml -param=/home/docker/sos-berlin.com/jobscheduler/jobscheduler12 -cd=/home/docker/sos-berlin.com/jobscheduler/jobscheduler12 -include-path=/home/docker/sos-berlin.com/jobscheduler/jobscheduler12 -V
        docker    3468     1 35 03:18 ?        00:00:01 /opt/sos-berlin.com/jobscheduler/jobscheduler12/bin/scheduler -service -id=JobScheduler12 -sos.ini=/home/docker/sos-berlin.com/jobscheduler/jobscheduler12/config/sos.ini -ini=/home/docker/sos-berlin.com/jobscheduler/jobscheduler12/config/factory.ini -config=/home/docker/sos-berlin.com/jobscheduler/jobscheduler12/config/scheduler.xml -param=/home/docker/sos-berlin.com/jobscheduler/jobscheduler12 -cd=/home/docker/sos-berlin.com/jobscheduler/jobscheduler12 -include-path=/home/docker/sos-berlin.com/jobscheduler/jobscheduler12 -V
        docker    3486     1 33 03:18 ?        00:00:01 /opt/sos-berlin.com/jobscheduler/jobscheduler12/bin/scheduler -service -id=JobScheduler12 -sos.ini=/home/docker/sos-berlin.com/jobscheduler/jobscheduler12/config/sos.ini -ini=/home/docker/sos-berlin.com/jobscheduler/jobscheduler12/config/factory.ini -config=/home/docker/sos-berlin.com/jobscheduler/jobscheduler12/config/scheduler.xml -param=/home/docker/sos-berlin.com/jobscheduler/jobscheduler12 -cd=/home/docker/sos-berlin.com/jobscheduler/jobscheduler12 -include-path=/home/docker/sos-berlin.com/jobscheduler/jobscheduler12 -V
        docker    3498 31309  0 03:18 pts/19   00:00:00 grep --color=auto jobscheduler12
        docker@osboxes:/opt/sos-berlin.com/jobscheduler/jobscheduler12$
        
        

      Desired behavior

      • When calling bin/jobscheduler.sh kill|version once the script returns the results, OS process should end.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Oliver Haufe
            Reporter:
            Mahendra Patidar
            Approver:
            Mahendra Patidar
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: