High CPU Utilization due to GZIP compression issues at the CXF level

Solution Verified - Updated -

Issue

  • Getting some thread dumps will yield multiple threads with the following description:

    "http-0.0.0.0-8580-7" daemon prio=10 tid=0x000000004a6cd800 nid=0x38e5 runnable [0x0000000049400000]
       java.lang.Thread.State: RUNNABLE
        at java.util.zip.Deflater.deflateBytes(Native Method)
        at java.util.zip.Deflater.deflate(Deflater.java:306)
        - locked <0x00002aab473baab0> (a java.util.zip.ZStreamRef)
        at java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:159)
        at java.util.zip.DeflaterOutputStream.write(DeflaterOutputStream.java:118)
        at java.util.zip.GZIPOutputStream.write(GZIPOutputStream.java:72)
        - locked <0x00002aab473baa78> (a java.util.zip.GZIPOutputStream)
    ....
    

Environment

  • Red Hat JBoss Enterprise Application Platform [EAP].
    • 5.1.x & above
    • 6.x.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.