G1 GC Tuning parameters

Narasimha C Achi Narasimha.Achi at nab.com.au
Sat Aug 4 07:58:10 UTC 2018


Hi Team,

Please find attached logs. java web services are deployed in these servers.
Attachment 1: shows to-space exhausted and allocation failure
Attachment2: Log GC Pauses.

Please find below G1 GC setting ini all our 4 managed servers.

-XX:GCLogFileSize=10485760 -XX:InitialHeapSize=6442450944 -XX:MaxGCPauseMillis=50 -XX:MaxHeapSize=6442450944 -XX:NumberOfGCLogFiles=10 -XX:+PrintGC -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+ReduceSignalUsage -XX:+UseCompressedClassPointers -XX:+UseCompressedOops -XX:+UseG1GC -XX:+UseGCLogFileRotation -XX:concGCThread=4 -XX:+ExplicitGC

Our observation is that heap utilization is more and free Heap Percentage comes to 8-9% and suddenly goes to 34%. Does this create any issues like outofmemory error and server crash?
How to fine tune these parameters and what other parameters to change for proper GC process with less stop world times.

Each server serves almost 50000 requests every day. Few times we observed to-space exhausted and Allocation Failure in GC logs.

Please provide us details about any other parameters to tune to avoid GC Issues.

Thanks and Regards
Narasimha Chary Achi




________________________________

The information contained in this email communication may be confidential. If you have received this email in error, please notify the sender by return email, delete this email and destroy any copy.

Any advice contained in this email has been prepared without taking into account your objectives, financial situation or needs. Before acting on any advice in this email, National Australia Bank Limited (NAB) recommends that you consider whether it is appropriate for your circumstances. If this email contains reference to any financial products, NAB recommends you consider the Product Disclosure Statement (PDS) or other disclosure document available from NAB, before making any decisions regarding any products.

If this email contains any promotional content that you do not wish to receive, please reply to the original sender and write "Don't email promotional material" in the subject.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-gc-use/attachments/20180804/463c5003/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: paidj2ee_server1_gc.log.1.zip
Type: application/x-zip-compressed
Size: 2229913 bytes
Desc: paidj2ee_server1_gc.log.1.zip
URL: <http://mail.openjdk.java.net/pipermail/hotspot-gc-use/attachments/20180804/463c5003/paidj2ee_server1_gc.log.1-0001.zip>


More information about the hotspot-gc-use mailing list