significant performance degradation seen after running application for few days with CMS collector and large heap size
Atul Kshatriya
atulksh at hotmail.com
Fri Jun 15 17:58:33 UTC 2012
Hello,We have a Tomcat based java server application configured to use the CMS collector. We have a relatively large heap - anywhere from 23Gb to upto 58Gb. What we are seeing is that after the application runs for a week or two, a request that would normally take few seconds takes tens of seconds to complete. This manifests itself as users seeing extremely slow performance from the server. We have looked at the gc logs and they do not seem to show any significant increase in pause times. We have made sure that the server is not loaded (load average is pretty minimal) and there is no other process running that would affect the server. If the application is restarted then we again get good performance until after a few days the performance deteriorates. Once that happens it does not seem to go back down again and stays at that level. The platform we are using is 64 bit x86 running SUSE (SUSE Linux Enterprise Server 11 (x86_64) VERSION = 11 PATCHLEVEL = 0).
The JDK we are using is JEK 1.6 Update 31. The parameters we are using for the jvm are as follows: -Xmx58G -Xms58G -server-XX:PermSize=256m -XX:MaxPermSize=256m-XX:+ExplicitGCInvokesConcurrent -XX:+UseConcMarkSweepGC-XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:CMSInitiatingOccupancyFraction=70-XX:-CMSConcurrentMTEnabled -XX:+UseCompressedOops -XX:ObjectAlignmentInBytes=16-XX:+PrintTenuringDistribution -XX:PrintCMSStatistics=2 We suspect this is something to do with the CMS garbage collect but have not been able to identify what exactly it might be looking at the gc logs. Has anybody seen such a behavior and any possible suspects like memory fragmentation etc. Any help regarding this greatly appreciated. -Atul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/hotspot-gc-dev/attachments/20120615/b2cd5212/attachment.htm>
More information about the hotspot-gc-dev
mailing list