Re: High CPU usage with Utf8Decoder in 8.5.23

2018-04-09 Thread Christopher Schultz
Mark, On 4/9/18 11:11 AM, Mark Thomas wrote: > On 09/04/18 14:20, Christopher Schultz wrote: >> Mark, >> >> On 4/8/18 6:39 PM, Mark Thomas wrote: >>> On 08/04/2018 21:29, Christopher Schultz wrote: >>> >>> >>> Does Tomcat do its own UTF-8 decoding because the JVM doesn't have a

Re: High CPU usage with Utf8Decoder in 8.5.23

2018-04-09 Thread Mark Thomas
On 09/04/18 14:20, Christopher Schultz wrote: > Mark, > > On 4/8/18 6:39 PM, Mark Thomas wrote: >> On 08/04/2018 21:29, Christopher Schultz wrote: >> >> >> >>> Does Tomcat do its own UTF-8 decoding because the JVM doesn't have a >>> facility to convert from ByteBuffer to CharBuffer? That seems

Re: High CPU usage with Utf8Decoder in 8.5.23

2018-04-09 Thread Christopher Schultz
Mark, On 4/8/18 6:39 PM, Mark Thomas wrote: > On 08/04/2018 21:29, Christopher Schultz wrote: > > > >> Does Tomcat do its own UTF-8 decoding because the JVM doesn't have a >> facility to convert from ByteBuffer to CharBuffer? That seems like >> something the JVM really should be providing... >

Re: High CPU usage with Utf8Decoder in 8.5.23

2018-04-08 Thread Mark Thomas
On 08/04/2018 21:29, Christopher Schultz wrote: Does Tomcat do its own UTF-8 decoding because the JVM doesn't have a facility to convert from ByteBuffer to CharBuffer? That seems like something the JVM really should be providing... No. It does it because the JRE UTF-8 decoder is buggy. Some

Re: High CPU usage with Utf8Decoder in 8.5.23

2018-04-08 Thread Christopher Schultz
Mark, On 4/7/18 6:57 AM, Mark Thomas wrote: > On 06/04/18 22:10, dharmon wrote: >> environment: >> tomcat 8.5.23 >> CentOS 6.9 >> jdk8u162 b12 >> >> I recently upgraded from tomcat 7.0.61/jdk8u92 to tomcat 8.5.23/jdk8u162. >> Our application war file on tomcat7 has cpu >75% idle per vmstat

Re: High CPU usage with Utf8Decoder in 8.5.23

2018-04-07 Thread Mark Thomas
On 06/04/18 22:10, dharmon wrote: > environment: > tomcat 8.5.23 > CentOS 6.9 > jdk8u162 b12 > > I recently upgraded from tomcat 7.0.61/jdk8u92 to tomcat 8.5.23/jdk8u162. > Our application war file on tomcat7 has cpu >75% idle per vmstat several > hours after tomcat start. Same war file on same