IBM Support

PH11759: PERFORMANCE DROPS WHEN WRITING A LARGE AMOUNT OF LOG ENTRIES TO LIBERTY'S CONSOLE LOG

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

  • When application log entry is sent to Liberty console logger
    (
    for example, by using logback's ConsoleAppender ),
    Liberty will perform extra formatting ( by adding timestamp,
    thread ID, class name, etc ) before writing to messages.log
    
    These extra overhead can cause performance degradation when
    there is a large volume of log entries to be processed.
    

Local fix

  • Avoid using ConsoleAppender as the main logging mechanism
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: Customer reporting lower than expected  *
    *                      TPS when using SystemOut for logging    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    There are some inferring calls in the code such as
    LogRecord.getSourceClassName() and
    LogRecord.getSourceMethodName() that are expensive to execute
    and hence slow down the performance for SystemOut.
    

Problem conclusion

  • LogRecord.getSourceClassName() and
    LogRecord.getSourceMethodName() calls were removed from the
    logging call stacks. As a result, we are seeing a siginificant
    boost in logging performance on SystemOut.
    
    The fix for this APAR is currently targeted for inclusion in fix
    pack 19.0.0.6.  Please refer to the Recommended Updates page for
    delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH11759

  • 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

    2019-05-07

  • Closed date

    2019-08-23

  • Last modified date

    2019-08-23

  • 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



Document information

More support for: WebSphere Application Server

Software version: CD0

Reference #: PH11759

Modified date: 23 August 2019