IBM Support

OA58749: __INHERITANCE.TIMELIMITSPAWN NOT INHERITED ACROSS SPAWN __SPAWN2INHESETTIMELIMIT

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When attempting to limit CPU time for a spawned job
    (RLIMIT_CPU), __spawn2 is used `with the __inheritance.timelimit
    to set an appropriate value for CPU time.  The spawned job is
    not inheriting the value set for __inheritance.timelimit.  This
    could result in a spawned job accumulating a greater CPU time
    than the limit should have allowed.
    
    KEYWORDS: BPXYINHE INHE
    
    VERIFICATION STEPS:
    Verification Steps:
    
    1) Confirm from a dump that includes the parent and
       problem child jobs that the spawned job reflects the same
       CPU time limit as its parent job (ASCBJSTL).
    
    2) Confirm that AscbToff is ON in both the parent and child.
    3) Confirm that the TcbSenv (if one exists) matches the AsxbSenv
    (ie The task is using the address space level ACEE).
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All users of z/OS UNIX System Services for                   *
    * HBB77B0 using spawn().                                       *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * The spawn() callable service is not correctly setting the    *
    * job time limit for newly created child address spaces when   *
    * the new limit is specified in the INHE structure             *
    * (INHETIMELIMIT).                                             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    During job selection (BPXPRJSR), the job time limit was
    correctly set using the INHETIMELIMIT value; but that value was
    overwritten during fork child process. Fork child is incorrectly
    propagating the parent time limit even though the INHE value
    should take precedence
    

Problem conclusion

  • Child processing (BPXPRFC) will be updated to bypass propagating
    the parent's time limit when an INHETIMELIMIT has been specified
    by the caller.
    

Temporary fix

Comments

APAR Information

  • APAR number

    OA58749

  • Reported component name

    OPENMVS SYS SRV

  • Reported component ID

    5695SCPX1

  • Reported release

    7B0

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-12-02

  • Closed date

    2020-02-12

  • Last modified date

    2020-03-02

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

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

    UJ02078

Modules/Macros

  • BPXPRFC
    

Fix information

  • Fixed component name

    OPENMVS SYS SRV

  • Fixed component ID

    5695SCPX1

Applicable component levels

  • R7B0 PSY UJ02078

       UP20/02/26 P F002

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7B0","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":null,"label":null},"Product":{"code":"SG19O","label":"APARs - MVS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7B0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
27 March 2020