IBM Support

IV68577: APPLICATION BINARY KILLED WHEN A SIGKILL COMMAND IS SENT TO THE PARENT (STARTCOMMAND)

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The customer found that after the startcommand exits
    successfully, a SIGKILL is still able to terminate the
    application binary started by it.
    

Local fix

  • Introduce a wrapper script that will change the PGID.
    =====/work/setpgrp.pl=====
    #!/usr/bin/perl
    setpgrp 0;
    system (@ARGV);
    =======================
    In the startup command:
    nohup /work/setpgrp.pl  binary.sh >>/tmp/log 2>&1 &
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Tivoli System Automation for Multiplatforms
    * 4.1.0 users using IBM.Application resources
    ****************************************************************
    * PROBLEM DESCRIPTION:
    * Even a successful ended StartCommand for an IBM.Application
    * resource might receive a SIGKILL, which then is still able to
    * terminate the application started by the StartCommand. The
    * problem is a race condition and might be observed in case the
    * child processes (application processes) started by the
    * StartCommand did not detach fast enough from the StartCommand
    * thread. Using 'nohup' to start the application processes seems
    * to increase the probability to hit the problem.
    ****************************************************************
    * RECOMMENDATION:
    ****************************************************************
    

Problem conclusion

  • The internal handling of the GblResRM has been adjusted to
    address the issue. Now there will be no SIGKILL sent to a
    StartCommand that did not run into a time out.
    .
    The official fix for this problem is included in Tivoli System
    Automation for Multiplatforms 4.1.0 fix pack 2
    | 4.1.0-TIV-ITSAMP-FP0002 |
    .
    Additional Search Keywords
    .
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV68577

  • Reported component name

    SA MULTIPLATFOR

  • Reported component ID

    5724M0000

  • Reported release

    322

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-01-15

  • Closed date

    2015-02-18

  • Last modified date

    2015-02-18

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    SA MULTIPLATFOR

  • Fixed component ID

    5724M0000

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSRM2X","label":"Tivoli System Automation for Multiplatforms"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"322","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
25 September 2023