IBM Support

PH30744: Increased CPU can occur after moving to Liberty version 19.0.0.7 or higher.

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

  • Increased CPU can be observed when using Liberty 19.0.0.7 or
    higher. The increased CPU relates to toString() invocations
    of application classes that are used in EJB methods as
    arguments. When looking at a thread dump when this problem is
    occurring you will see a stack similar to:
    ... stack removed ...
    at
    com/ibmdemo/common/types/MyBigStringObject.toString(MyBigStringO
    bject.java:102(Compiled Code))
    at
    com/ibm/ws/security/audit/utils/ParameterUtils.ToString(Paramete
    rUtils.java:57(Compiled Code))
    at
    com/ibm/ws/security/audit/utils/ParameterUtils.format(ParameterU
    tils.java:38(Compiled Code))
    at
    com/ibm/ws/security/audit/utils/ParameterUtils.format(ParameterU
    tils.java:36(Compiled Code))
    at
    com/ibm/ws/ejbcontainer/security/internal/EJBSecurityCollaborato
    rImpl.populateAuditEJBHashMap(EJBSecurityCollaboratorImpl.java:4
    09(Compiled Code))
    at
    com/ibm/ws/ejbcontainer/security/internal/EJBSecurityCollaborato
    rImpl.authorizeEJB(EJBSecurityCollaboratorImpl.java:435(Compiled
     Code))
    at
    com/ibm/ws/ejbcontainer/security/internal/EJBSecurityCollaborato
    rImpl.preInvoke(EJBSecurityCollaboratorImpl.java:194(Compiled
    Code))
    at
    com/ibm/ws/ejbcontainer/security/internal/EJBSecurityCollaborato
    rImpl.preInvoke(EJBSecurityCollaboratorImpl.java:69(Compiled
    Code))
    at
    com/ibm/ejs/container/EJSContainer.notifySecurityCollaboratorPre
    Invoke(EJSContainer.java:3147(Compiled Code))
    at
    com/ibm/ejs/container/EJSContainer.preInvokeAfterActivate(EJSCon
    tainer.java:3092(Compiled Code))
    at
    com/ibm/ejs/container/EJSContainer.EjbPreInvoke(EJSContainer.jav
    a:2394(Compiled Code))
       .... snip ....
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  Users of IBM WebSphere Application Server   *
    *                  Liberty who use EJBs with application       *
    *                  security                                    *
    *                  enabled, but do not have audit feature      *
    *                  enabled                                     *
    ****************************************************************
    * PROBLEM DESCRIPTION: Increased CPU when moving to 19.0.0.7   *
    *                      or                                      *
    *                      newer releases                          *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    A code change introduced in 19.0.0.7, caused a function to be
    run that usually was only run when the audit feature was
    enabled. This execution path could possibly cause increased
    CPU. For additional details, refer to:
    https://github.com/OpenLiberty/open-liberty/issues/14597
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PH30744

  • Reported component name

    LIBERTY PROFILE

  • Reported component ID

    5724J0814

  • Reported release

    CD0

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-10-20

  • Closed date

    2020-10-26

  • Last modified date

    2020-11-05

  • 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

    LIBERTY PROFILE

  • Fixed component ID

    5724J0814

Applicable component levels

[{"Line of Business":{"code":"LOB36","label":"IBM Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"CD0"}]

Document Information

Modified date:
06 November 2020