<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Tomcat high CPU issue in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/tomcat-high-cpu-issue/qaa-p/11794736#M4419785</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hello Sergio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the following SAP Notes :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H1&gt;&lt;STRONG&gt;2075671 - Best Practice: How to identify Tomcat crash, unresponsive or hanging issue&lt;/STRONG&gt;&lt;/H1&gt;&lt;P&gt;&lt;/P&gt;&lt;H1&gt;&lt;STRONG&gt;2297866 - Tomcat8 no longer uses Permsize and MaxPermsize&lt;/STRONG&gt;&lt;/H1&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Aug 2016 09:07:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2016-08-25T09:07:32Z</dc:date>
    <item>
      <title>Tomcat high CPU issue</title>
      <link>https://community.sap.com/t5/technology-q-a/tomcat-high-cpu-issue/qaq-p/11794735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are on BO 4.2 SP2. We have recently upgraded and since then we are experiencing and issue with Tomcat8.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tomcat keeps reserving more and more memory (at least from we can see in windows Task Manager). Every other day it reaches around 2GB of memory and then it starts paging. CPU goes over the roof and we can´t even restart Tomcat, we need to kill it and start it instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have modified the Tomcat settings Xmx and Xms to 4096 and restarted Tomcat but it seems that it can´t go beyond 2GB. We are on a windows server 2012 R2 64bits with 32GB of RAM available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone encountered this scenario that can give us any clue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sergio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2016 08:56:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/tomcat-high-cpu-issue/qaq-p/11794735</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-08-25T08:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: Tomcat high CPU issue</title>
      <link>https://community.sap.com/t5/technology-q-a/tomcat-high-cpu-issue/qaa-p/11794736#M4419785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hello Sergio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the following SAP Notes :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H1&gt;&lt;STRONG&gt;2075671 - Best Practice: How to identify Tomcat crash, unresponsive or hanging issue&lt;/STRONG&gt;&lt;/H1&gt;&lt;P&gt;&lt;/P&gt;&lt;H1&gt;&lt;STRONG&gt;2297866 - Tomcat8 no longer uses Permsize and MaxPermsize&lt;/STRONG&gt;&lt;/H1&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2016 09:07:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/tomcat-high-cpu-issue/qaa-p/11794736#M4419785</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-08-25T09:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: Tomcat high CPU issue</title>
      <link>https://community.sap.com/t5/technology-q-a/tomcat-high-cpu-issue/qaa-p/11794737#M4419786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this SAP note:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 22px; background-color: #f2f8fc;"&gt;&lt;A href="https://launchpad.support.sap.com/#/notes/2016105/E"&gt;2016105 - How to troubleshoot high CPU utilization issues with SAP JVM (Tomcat, Adaptive Processing Server, Adaptive Job Server, WACS)&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 22px; background-color: #f2f8fc;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="105033" __jive_macro_name="blogpost" class="jive_macro jive_macro_blogpost" data-orig-content="Using JVMTOP and JVMMON to analyze Tomcat and Adaptive Processing Server CPU bottlenecks " href="https://community.sap.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2016 09:12:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/tomcat-high-cpu-issue/qaa-p/11794737#M4419786</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-08-25T09:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: Tomcat high CPU issue</title>
      <link>https://community.sap.com/t5/technology-q-a/tomcat-high-cpu-issue/qaa-p/11794738#M4419787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Sergio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since there are certain parameters which are no longer used in the Tomcat 8 as compare to Tomcat 7 there is one important parameter is to clean the garbage memory. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Follow below options to add it to the java command line option :&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Remove the paralleroldGC parameter and add the parameter : -XX:+UseParallelGC&lt;/LI&gt;&lt;LI&gt;Remove the permsize as it is no longer supported in tomcat 8.&lt;/LI&gt;&lt;LI&gt;Check if you have minimum 4 CPU core installed.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mahak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Aug 2016 22:01:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/tomcat-high-cpu-issue/qaa-p/11794738#M4419787</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-08-28T22:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: Tomcat high CPU issue</title>
      <link>https://community.sap.com/t5/technology-q-a/tomcat-high-cpu-issue/qaa-p/11794739#M4419788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mahak,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your post. I have done the two changes you mention. We have a 2 CPU core, but I can´t see how that can have any effect on an error like this. I´ve had to restart tomcat again this morning, but the point in time that tomcat crashes, I can´t see any particular stress on the server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error in Tomcat was:&lt;/P&gt;&lt;P&gt;Aug 28, 2016 9:18:37 PM org.apache.tomcat.util.net.NioEndpoint$SocketProcessor doRun&lt;/P&gt;&lt;P&gt;SEVERE: &lt;/P&gt;&lt;P&gt;java.lang.OutOfMemoryError: Compressed class space&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sergio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2016 09:09:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/tomcat-high-cpu-issue/qaa-p/11794739#M4419788</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-08-29T09:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: Tomcat high CPU issue</title>
      <link>https://community.sap.com/t5/technology-q-a/tomcat-high-cpu-issue/qaa-p/11794740#M4419789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sergio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the Tomcat crash occurs, if 'Exception in thread thread_name: java.lang.OutOfMemoryError: Compressed class space' has been output in Tomcat std.out log, then increasing CompressedClassSpaceSize to turn off UseCompressedClassPointers would be the solution.&lt;/P&gt;&lt;P&gt;However, please keep in mind that Tomcat 8 no longer uses MaxPermSize but MaxMetaspaceSize, so before adjusting CompressedClassSpaceSize, defining MaxMetaspaceSize is necessary. (See KB &lt;A href="https://service.sap.com/sap/support/notes/2297866"&gt;2297866&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;BR /&gt;Moslem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2016 10:23:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/tomcat-high-cpu-issue/qaa-p/11794740#M4419789</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-08-29T10:23:55Z</dc:date>
    </item>
  </channel>
</rss>

