- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- JVM running lengthy Full GCs
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-26-2009 06:52 AM
тАО06-26-2009 06:52 AM
JVM running lengthy Full GCs
we are running a Java application that is sometimes being stopped in its execution. We investigated that it is caused by Full Garbage Collector being run immediately after normal GC. See attached GC log. Since our application is a throughput one, we can't allow such stop-the-worlds that delay from 7 to 10 seconds. Those delays are seen even if the application is put outside live traffic and is (almost) idle.
We are using parameters "-Xmx2048M -Xms2048M -Xmn682M -Xss128k" for the JVM. We used that parameters in past many times with no such behavior. Searching on web I found some recommendation to add parameters "-XX:ParallelGCThreads=5 -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:SurvivorRatio=4 -XX:TargetSurvivorRatio=20 -XX:MaxTenuringThreshold=10" that really helped a lot - no Full GC has been executed during one day test.
However I feel those parameters are only a workaround and there should be a reason for that unexpected behavior - as I wrote we have never seen that despite deployed the application on many sites.
Some technical details follow:
uname: HP-UX XXX B.11.11 U 9000/800 3248519855 unlimited-user license
java -version: build 1.5.0.13-_09_may_2008_11_35
dmesg | tail:
Memory Information:
physical page size = 4096 bytes, logical page size = 4096 bytes
Physical: 8386560 Kbytes, lockable: 6446736 Kbytes, available: 7406260 Kbytes
Any help is really appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-26-2009 06:58 AM
тАО06-26-2009 06:58 AM
Re: JVM running lengthy Full GCs
This type of behavior is seen from time to time.
http://www.hp.com/go/java
install recommended patches and more current versions of java
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-27-2009 01:13 AM
тАО06-27-2009 01:13 AM
Re: JVM running lengthy Full GCs
Have you tried tools like jmeter?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-29-2009 01:46 AM
тАО06-29-2009 01:46 AM
Re: JVM running lengthy Full GCs
Has this installation more users ?
Is there more data to handle ?
Are users using this application more intensively ?
Patching the JVM is certainly another issue to look at maybe even you are running a patched JVM here while your other installations are unpatched.
Patching on the OS-level may also have an impact.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-29-2009 03:20 AM
тАО06-29-2009 03:20 AM
Re: JVM running lengthy Full GCs
I tried profiling tools / parameters though either JVM was unable to start due to memory (too verbose information required) or insufficient info were obtained.
I am about to upgrade to the latest Java version.
Btw. there are 2 boxes running the same application. Boxes are identical (kernel, HP patches), Java is the only difference I found. With an older version 1.5.0.04 no problems were detected.. And with Java 1.5.0.13 the issue appears regardless a throughput - it also appears when the application has been idle from its start.
Anyway I will upgrade the Java and check if problems persist.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2009 09:48 AM
тАО07-16-2009 09:48 AM