IBM Support

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

Subscribe

You can track all active APARs for this component.

 

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

  • RCD0 PSY

       UP

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

Document Information

Modified date:
14 October 2021