Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003694 [Resin] major always 09-23-09 11:46 01-18-11 20:33
Reporter mocospace View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 4.0.14 Product Version 4.0.1
  Product Build
Summary 0003694: Major garbage collection (GC) causes thread spike
Description Every major/full garbage collection (GC) in Resin 4.0.1 professional causes the number of threads to spike in the JVM. This was not the case in Resin 3.2.x professional and is preventing us from upgrading. Resin 4 also seems to use more threads in general than Resin 3. We are running on CentOS 5, with the following JVM params -

        <jvm-arg>-server</jvm-arg>
        <jvm-arg>-Xms2560m</jvm-arg>
        <jvm-arg>-Xmx4608m</jvm-arg>
        <jvm-arg>-XX:MaxPermSize=256m</jvm-arg>
        <jvm-arg>-XX:+UseConcMarkSweepGC</jvm-arg>
        <jvm-arg>-XX:+CMSClassUnloadingEnabled</jvm-arg>
        <jvm-arg>-XX:CMSInitiatingOccupancyFraction=60</jvm-arg>
        <jvm-arg>-XX:+PrintGCTimeStamps</jvm-arg>
        <jvm-arg>-XX:+DisableExplicitGC</jvm-arg>
Steps To Reproduce
Additional Information
Attached Files  threads.JPG [^] (27,446 bytes) 09-23-09 12:29

- Relationships

- Notes
(0004252)
mocospace
09-23-09 12:19
edited on: 09-23-09 12:25

We are running

java version "1.6.0_11"
Java(TM) SE Runtime Environment (build 1.6.0_11-b03)
Java HotSpot(TM) 64-Bit Server VM (build 11.0-b16, mixed mode)

Attached screen shot of thread spike

 
(0004256)
ferg
09-25-09 14:53

We've redone the threads significantly for 4.0.2. I don't know if this will greatly affect the issue you're seeing.

The latest threading model does keep more threads around by default, where earlier versions of Resin were more aggressive about reaping idle threads.
 
(0004969)
ferg
01-18-11 20:33

Threading model has changed in more recent versions of 4.0.x. If the problem persists, please submit a new bug report with the current version of Resin.
 

- Issue History
Date Modified Username Field Change
09-23-09 11:46 mocospace New Issue
09-23-09 12:19 mocospace Note Added: 0004252
09-23-09 12:25 mocospace Note Edited: 0004252
09-23-09 12:29 mocospace File Added: threads.JPG
09-25-09 14:53 ferg Note Added: 0004256
01-18-11 20:33 ferg Note Added: 0004969
01-18-11 20:33 ferg Assigned To  => ferg
01-18-11 20:33 ferg Status new => closed
01-18-11 20:33 ferg Resolution open => fixed
01-18-11 20:33 ferg Fixed in Version  => 4.0.14


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
35 total queries executed.
28 unique queries executed.
Powered by Mantis Bugtracker