sig-ansible / tomcat

Tomcat Role
2 stars 0 forks source link

ParallelGC no longer provides best performance #2

Open dboitnot opened 3 years ago

dboitnot commented 3 years ago

Remove -XX:+UseParallelGC from this line in defaults/main.yml:

tomcat_catalina_opts: "{{ tomcat_memory_args }} {{ '-Djava.security.egd=file:/dev/../dev/urandom' if tomcat_urandom else '' }} -server -XX:+UseParallelGC {{ tomcat_catalina_extra_opts | default('') }}"

jmorast commented 5 months ago

In article 000049276, ellucian now recommends using -XX:+UseG1GC.

Perhaps this bit could be rewritten to allow for setting a parameter?

jmorast commented 5 months ago

In article 000049276, ellucian now recommends using -XX:+UseG1GC.

Perhaps this bit could be rewritten to allow for setting a parameter?

After thinking about this some more, revoming a static garabe collection setting is probably the right way to go. That allows you to change the setting downstream.