Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Excerpt

I am running multiple Tomcat instances for confluence, and faced that confluence page loading takes too long. In addition, my server suddenly faced huge amount of CPU consumption including memory.



I just checked server logs under <confluence_home>/logs, and found gc(garbage collection) is too frequently happening like below:

...

The action you should do is simple - just adding one more a line below Dsynchrony.enable.xhr.fallback. Note you should use your own unique port for collaborative editor. If you have three different confluence instances, you should have three different ports.

Code Block
CATALINA_OPTS="-Dsynchrony.port=28191 ${CATALINA_OPTS}"

For your information, the default port number is 8091. If you have more than two confluence instances, you should have different port numbers to avoid conflicts.

Below is the actual example I made

...