Hi,
I saw in a below thread, it seems that the G1GC is manually configured for Ignition 7.7.2
I have a general question about the performance of the gateway.
As a background, we’ve had Ignition for a few years and have upgraded our server a couple of times as the number of clients we have has grown (using in-house MES application). We were on a 32 bit version with a couple of CPUs and 4gb of ram.
As we continued expanding use of Ignition, the CPU usage gradually bumped up to where it was hovering in the 70% range with occasional spikes.
We switched to a 64bit/Windows Server 2012 with…
I use Ignition 8.0.4 Nightly, the default setting of ignition.conf doesn't contain G1GC setting as shown in below snapshot.
So shall we set it manually to enable the G1GC in version 8.0.4 Nightly?
Starting with 8.0.0, the gateway installation is bundled with Java 11, which uses G1GC by default - no additional parameter needed.
1 Like
nskoog
February 23, 2021, 5:47pm
4
We have installs that were upgraded from 7.9 to 8.0 to 8.1 and it shows that it is using ParNew, does the ignition.conf file changes still apply to get it to use G1GC?
What does your ignition.conf additional parameters section look like now?
G1 should not need to be explicitly enabled in the versions of Java we ship with 8.x.
nskoog
February 23, 2021, 5:52pm
6
See below:
Java Additional Parameters
wrapper.java.additional.1=-XX:+UseConcMarkSweepGC
#wrapper .java.additional.2=-XX:+CMSClassUnloadingEnabled
wrapper.java.additional.3=-Ddata.dir=data
wrapper.java.additional.4=-Dorg.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES=false
#wrapper .java.additional.5=-Xdebug
#wrapper .java.additional.6=-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000
wrapper.java.additional.5=-Dedition=
Comment out everything except lines parameters 3 and 5 and restart the gateway.
You're explicitly opting in to the 'older' GC. Remove or comment out this line.
nskoog
February 23, 2021, 6:02pm
9
I commented out wrapper.java.additional.1 and it is now using G1GC, is it a good idea to comment out wrapper.java.additional.4 as well?
4 is not necessary, it’s a leftover artifact from many many versions ago.