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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content