The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [garbage-collecting]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
115 views

Possible Linux page table issue/huge load average with large heap JVM that results in significant sys time in GC logs

Our service runs on AWS on m5.12xlarge nodes (48 cores, 192 G RAM) on Ubuntu 16.04. We use Java 8. For our service we allocate about 150G as max heap size. We have no swap on the node. The nature of ...
0
votes
0answers
92 views

Increasing Eden space heap size tomcat

My current tomcat configuration is shown below and my configuration variables for tomcat are mentioned below - export CATALINA_OPTS="$CATALINA_OPTS -Xms512m" export CATALINA_OPTS="$CATALINA_OPTS -...
0
votes
1answer
359 views

tomcat8: 'free(): corrupted unsorted chunks'

We upgraded from Ubuntu 16LTS to Ubuntu 18LTS a couple of days ago and since then have had Apache Tomcat crash completely twice (once per day, about 25 hrs apart). The java process stops running. One ...
0
votes
0answers
124 views

Tomcat 7 server experiencing a sudden (order of magnitude) increase of the Young GC frequency after upgrade of Ubuntu and OpenJDK

What is the issue? After upgrading instances to Ubuntu 16.04 LTS and OpenJDK 8 the GC frequency can, after hours of normal operation, suddenly increase by orders of magnitude ending up using less ...
1
vote
2answers
145 views

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... ...
-1
votes
1answer
55 views

Empty LAMP Sessions [closed]

I have a LAMP server. Users log in and authenticate against the MySQL database. After successful authentication, session_start() is called. At no point is regenerate_session_id() called. I'm ...
3
votes
1answer
427 views

Monitor the Garbage Collector of an SSD

The SSD controller triggers the garbage collection routines on a specific ship or block when a certain threshold of either invalid pages or written pages is met, based on the GC policy (my guess is ...
0
votes
1answer
650 views

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-...
-1
votes
1answer
2k views

High CPU being caused by garbage collection in w3wp.exe [closed]

I am having a problem with High CPU happening on my my website in IIS8. This happens randomly and not very often but it does happen especially when the load is heavy on the site. The only way to ...
3
votes
1answer
490 views

How to disable automatic garbage collection on an SSD?

Solid State Drives (SSD) have a garbage collection functionality which makes space from deleted files available. It is triggered automatically by the drive via a TRIM command sent by the OS Is there ...
0
votes
1answer
378 views

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 ...
1
vote
1answer
3k views

GC taking big pause and ParNew (promotion failed)

One of our java application is taking big pause while doing GC, it seems because of "ParNew (promotion failed)" it takes time. Java version: $ java -version java version "1.6.0_21" Java(TM) SE ...
5
votes
2answers
5k views

PHP on Windows - ps_files_cleanup_dir error

I am occasionally getting the following error when loading a PHP page: PHP Notice: session_start(): ps_files_cleanup_dir: opendir(C:\Windows\TEMP) failed: No error (0) in C:\server\default.php on ...
0
votes
1answer
3k views

Tomcat CPU and GC going crazy [closed]

Having some major issues with our Tomcat 7 installation. It used to run fine for over a year, but now the CPU is mainly at 400% - 700% (8 core machine) and in the logs I see tones of these: 2015-04-...
1
vote
0answers
304 views

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 ...
1
vote
1answer
3k views

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 ...
1
vote
1answer
3k views

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 ...
0
votes
1answer
52 views

Discrepancy in java Garabage Collection between jconsole and log files

I'm having an odd problem: my garbage collection log file (as defined by -Xloggc) will show n number of garbage collections have taken place, but jconsole will show n+6 garbage collections have taken ...
1
vote
3answers
3k views

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 ...
26
votes
2answers
23k views

Why does Debian clean php sessions with a cron job instead of using php's built-in garbage collector?

Debian and derivatives (Ubuntu) don't use the php session garbage collector session.gc_probability = 0 instead they use a cron /etc/cron.d/php5 09,39 * * * * root [ -x /usr/lib/php5/maxlifetime ] &...
0
votes
1answer
669 views

When the JVM is doing a complete GC, is it expected to see a large number of page fault/sec?

It is Window 2003 server. We are running some performance test, and what we see is: 1. In first 5 hours, the page fault/sec is very small, like 10 or 20 In the last 1 hour, the page fault jumps to ...
0
votes
1answer
506 views

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 ...
1
vote
2answers
1k views

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. ...
0
votes
3answers
1k views

Frequent occurence of FULL GC

There is a frequent occurence of FULL GC in our system. We are using Java application running on Tomcat server. Our application is running using internal load balancer setup. We are seeing lot of ...
6
votes
3answers
15k views

Tomcat intermittent slowdowns, unresponsive, hangs

I've been trying to track down the cause of intermittent slowdowns of our Tomcat server. We get the slowdowns several times a week, where Tomcat will stop responding or take several minutes to ...
1
vote
1answer
155 views

is it safe for the Apache to be the owner of the session directory (php)

Since I have upgraded to php 5.3 I have issues with the session GC. Seems he can't access the directory which is owned by root, Although I see sessions are being created there. Is it safe to change ...
4
votes
3answers
6k views

JAVA_OPTS -XX:+PrintGCDetails affect on performance?

Does anyone know if the PrintGCDetails affects java performance much? I've been monitoring our java garbage collecting on a staging server with the same setup as the production server. I assumed ...