IBM Support

PH20582: SIMULTANEOUSLY WATCHING STEP OUTPUT LOG WHILE THE STEP IS RUNNING LEAKS FILE DESCRIPTORS

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Watching the step output log of a running step on a web agent
    leaks file descriptors. This can eventually break the agent when
    the available descriptors are exhausted.
    The custom HttpEntity used to upload the last log segment uses a
    utility method to limit the upload size to an exact length that
    returns a length limited stream that does not delegate closure
    to the underlying stream.
    
    To reproduce, create a shell process that contains an infinite
    loop that prints some text and sleeps for a time between loops
    and then watch the output log of the executing script. For
    example:
    Running lsof on the worker process will show the number of
    descriptors increase.
    

Local fix

  • Do not watch running steps and/or occasionally restart the agent
    to clear leaked descriptors.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All end users on all supported browsers.                     *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Watching the step output log of a running step on a web      *
    * agent                                                        *
    * leaks file descriptors. This can eventually break the agent  *
    * when                                                         *
    * the available descriptors are exhausted.                     *
    * The custom HttpEntity used to upload the last log segment    *
    * uses a                                                       *
    * utility method to limit the upload size to an exact length   *
    * that                                                         *
    * returns a length limited stream that does not delegate       *
    * closure                                                      *
    * to the underlying stream.                                    *
    *                                                              *
    * To reproduce, create a shell process that contains an        *
    * infinite                                                     *
    * loop that prints some text and sleeps for a time between     *
    * loops                                                        *
    * and then watch the output log of the executing script. For   *
    * example:                                                     *
    * Running lsof on the worker process will show the number of   *
    * descriptors increase.                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Fixed in version 7.0.5.2                                     *
    ****************************************************************
    

Problem conclusion

  • Fix is provided in IBM UrbanCode Deploy 7.0.5.2
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH20582

  • Reported component name

    UC DEPLOY

  • Reported component ID

    5725M5400

  • Reported release

    701

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-12-24

  • Closed date

    2020-03-11

  • Last modified date

    2020-03-11

  • 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

    UC DEPLOY

  • Fixed component ID

    5725M5400

Applicable component levels

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS4GSP","label":"IBM UrbanCode Deploy"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"701","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
11 March 2020