Linux environment Mule JVM short life cycle Object performance tuning

Source: Internet
Author: User
Tags wrapper

Recently, on a project, the backend mule es CPU was found to be high. After Jstat-gcutil JVM process number 1000 10 analysis, found FGC times, more.

After the GC observation, there are a large number of new generation objects, directly into the Laosheng generation.


Modify mule/conf/wrapper.conf. Add the following options.

Wrapper.java.additional.5=-xx:+printgcdetails
Wrapper.java.additional.6=-xx:+printgcdatestamps
Wrapper.java.additional.7=-verbose:gc
Wrapper.java.additional.8=-xloggc:gc.log
wrapper.java.additional.9=-xx:parallelgcthreads=10
Wrapper.java.additional.10=-xx:+useconcmarksweepgc
Wrapper.java.additional.11=-xx:+useparnewgc
Wrapper.java.additional.12=-xx:newratio=3
wrapper.java.additional.13=-xss256k
wrapper.java.additional.14=-xx:survivorration=2
Wrapper.java.additional.15=-xx:targetsurvivorratio=8

The Newratio property increases the Cenozoic size.

Linux environment Mule JVM short life cycle Object performance tuning

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.