Tomcat CPU and GC going crazy [closed]

Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 6 years ago. Improve this question Having some major issues with our Tomcat 7 installation. It used to run fine for … Read more

Monitoring Java garbage collector and memory status

I’m running some Rails applications on Jboss with JRuby. Sometimes the Java garbage collector can’t free memory and the jvm consume all the available memory. I’m trying to create a custom metric with jstat, but can’t figure out some valuable stats that allows me to detect some risky condition and take some action on the … Read more

JVM garbage collection: What is the difference between “survivor 1” and “survivor 2”?

In Oracle’s Java Virtual Machine’s Garbage Collector, what are the respective roles of “survivor 1” and “survivor 2” ? Are the objects always moving like: Eden → Survivor 1 → Survivor 2 Or can an object jump directly from Eden to Survivor 2? Would a “Survivor 3” make no sense, or it could be OK … Read more

WebLogic server seems to freeze after CMS Garbage Collection run

We’re using Java Hotspot 1.6 with a 10.3.6 WebLogic Cluster with 2 nodes running OSB 11.1.1.7 behind a physical load balancer: java version “1.6.0_91” Java(TM) SE Runtime Environment (build 1.6.0_91-b13) Java HotSpot(TM) 64-Bit Server VM (build 20.91-b07, mixed mode) We’ve tuned the JVM to use CMS and avoid long running garbage collections: -XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC -XX:NewRatio=4 … Read more

JVM crash with segmentation fault

We have a cluster of tomcat servers, just upgraded to debian7/openjdk7/tomcat7 (all from stock debian). Now we had two JVM crash on different machines. Both servers having identical hardware and are configured exactly the same (besides IP Addresses of course) First Crash: # # A fatal error has been detected by the Java Runtime Environment: … Read more

What could cause Ruby’s free heap slots to rapidly increase?

I’m diagnosing why our Rails servers seem to leak memory. In looking at New Relic today, I noticed that “Free heap slots” of our Ruby VMs seems to jump from almost nothing up to the baseline level of “Live objects” at seemingly random intervals. My guess is that this has something to do with GC, … Read more

Periodic unresponsiveness in tomcat

I am experiencing periodic unresponsiveness in tomcat in our production environment. I cannot reproduce this in a test environment, and nothing appears in the logs prior to or during the event. Tomcat continues running, but stops servicing requests. I’ve read this thread and have placed garbage collection output options in JAVA_OPTS, though I have yet … Read more

Why are Full GCs not running on my gcInterval I set?

ColdFusion 10 Update 10 Windows Server 2008 R2 Java 1.7.0_21 I am trying to figure Full GCs to run every 10 minutes. I have used the gcInterval JVM arg in the past on earlier versions of ColdFusion with success, but I have confirmed with verbose GC logs that Full GCs are still happening on the … Read more

High CPU utilisation w3wp.exe – GC issue?

I’ve inherited a website that uses a lot of session state. We’ve recently experienced continuous high CPU ~95-100% for prolonged period of times. When debugging using DebugDiag, it shows that there was ~3gb on the Large Object Heap which I believe is collected in Gen 2 by the GC and could be a cause of … Read more

PHP script causes server shutdown

I have a centos server with 4Gb RAM. I’m doing a PHP console batch process that may take some hours… however it doesn’t finish as the server shutdown after 1 or 2 hours from lauching the process… Here are the logs: Dec 28 04:39:01 www systemd[1]: Starting Clean php session files… Dec 28 04:39:02 www … Read more