<div dir="ltr"><div><div><div><div><span style="color:rgb(51,51,51);font-family:Overpass,&quot;Open Sans&quot;,Helvetica,sans-serif;font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:22.576px;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none;background-color:rgb(255,255,255)">Hi all,<br><br>We&#39;re seeing JBoss consumes high CPU and the thread dumps and CPU data indicates that the high consuming threads are always in some point of the OutputBuffer.realWriteChars method and its underlying char to byte conversions and buffer flushes, for example<br><br></span><pre style="overflow:auto;font-family:Consolas,Monaco,&quot;Andale Mono&quot;,monospace;font-size:13px;display:block;padding:0.9375rem;margin:0px 0px 10px;line-height:1.42857;word-wrap:normal;color:rgb(51,51,51);border:1px solid rgb(236,236,236);border-radius:0px;white-space:pre-wrap;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;word-spacing:0px;background-color:rgb(245,245,245)"><code style="font-family:Consolas,Monaco,&quot;Andale Mono&quot;,monospace;font-size:inherit;padding:0px;color:inherit;white-space:pre-wrap;border-radius:0px;background-color:transparent">&quot;ajp-127.0.0.1-8009-1&quot; daemon prio=10 tid=0x00002aabd4fb2000 nid=0x7a6 runnable [0x00002b24a1517000]
   java.lang.Thread.State: RUNNABLE
        at sun.nio.cs.ISO_8859_1$Encoder.encodeArrayLoop(ISO_8859_1.java:148)
        at sun.nio.cs.ISO_8859_1$Encoder.encodeLoop(ISO_8859_1.java:187)
        at java.nio.charset.CharsetEncoder.encode(CharsetEncoder.java:544)
        at org.apache.tomcat.util.buf.C2BConverter.convert(C2BConverter.java:91)
        at org.apache.catalina.connector.OutputBuffer.realWriteChars(OutputBuffer.java:465)
        at org.apache.tomcat.util.buf.CharChunk.flushBuffer(CharChunk.java:440)
        at org.apache.tomcat.util.buf.CharChunk.append(CharChunk.java:295)
        at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:499)
        at org.apache.catalina.connector.CoyoteWriter.write(CoyoteWriter.java:143)
        at org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:119)
        at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:326)</code></pre><br></div>Does anybody know how to fix it?<br><br></div><div>In fact, there is an article which describes the same situation I have. But I have no enough privileges to read the full content. <br></div><div><br></div><div>Can you help me ?<br><br><a href="https://access.redhat.com/solutions/129963">https://access.redhat.com/solutions/129963</a><br><br></div>thanks,<br></div>br,<br></div>/nf<br></div>