VOOZH about

URL: https://www.ibm.com/support/pages/apar/IJ43366

⇱ IJ43366: HIGH CPU CONSUMPTION OBSERVED IN ZOSEVENTPORT$EVENTHANDLERTASK.RUN


IJ43366: HIGH CPU CONSUMPTION OBSERVED IN ZOSEVENTPORT$EVENTHANDLERTASK.RUN

APAR status

  • Closed as program error.

Error description

  • Error Message: On z/OS, high CPU consumption may be observed in
    applications using non-blocking I/O or websockets APIs, even
    while the socket connections are idle. Running the Jenkins agent
    on z/OS with "websockets" feature enabled is one scenario where
    this problem may be observed.
    .
    Stack Trace: The stack trace of the high cpu consuming threads
    may show time spent within
    sun/nio/ch/ZosEventPort$EventHandlerTask.run and its callees.
    e.g.: at sun/nio/ch/PollArrayWrapper.poll0(Native Method) at
    sun/nio/ch/PollArrayWrapper.poll(PollArrayWrapper.java:155(Compi
    led Code)) at
    sun/nio/ch/ZosEventPort$EventHandlerTask.poll(ZosEventPort.java:
    215) at
    sun/nio/ch/ZosEventPort$EventHandlerTask.run(ZosEventPort.java:2
    75) at
    sun/nio/ch/AsynchronousChannelGroupImpl$1.run(AsynchronousChanne
    lGroupImpl.java:112)
    .
    

Local fix

Problem summary

  • The problem is caused by a conservative registration of poll
    event types within ZosEventPort class. This issue may result in
    poll() calls in quick succession, causing increased cpu
    consumption.
    

Problem conclusion

  • The implementation of ZosEventPort has been updated to register
    only the requested poll event types.
    .
    This APAR will be fixed in the following Releases:
    .
    IBM SDK, Java Technology Edition
     8 SR7 FP20 (8.0.7.20)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the available
    maintenance can be found at:
     https://www.ibm.com/support/pages/java-sdk
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ43366

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-09-28

  • Closed date

    2022-09-30

  • Last modified date

    2022-10-04

  • 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

    JAVA CLASS LIBS

  • Fixed component ID

    620700130

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
04 October 2022