Our 8.1.54 gateway (Linux VM, 10 vCPU, 19 GB RAM, -Xmx12288m) logs frequent "Clock drift, degraded performance, or pause-the-world detected" warnings (1-9 s), and the wrapper restarted it 3 times in 10 days with "JVM appears hung".
What we see:
CPU stays low (5-15%) during the pauses.
No Full GCs; young GCs average ~100 ms.
About 400 MB of the Java process is in Linux swap.
What's up with your CPU usage? A normal Ignition server will just run along for the most part at about 5-10%. All those spikes up over 50 and even up to 100% are likely problems.
Allocate less memory. It looks like you're really only using about 6G, so maybe 8G allocation (and be sure to set initial the same as max). Overallocating isn't good, espeically since it appears you allocated ALL the memory that the machine has, to Ignition. Java WILL eat it all.
Is it a VM? and if so, are those resources dedicated to the VM, or are they shared with other VMs? (they need to be dedicated).
Also, that memory chart is ugly for that garbage collection. It should generally be a nice sawtooth (climbing to your max mem, and then cleaning up). Once you fix 2, that may help that.