Incessant timeouts; slow performance overall

Done.

Thanks Thomas! Iā€™ve resized it a bit to follow our best practices from https://dev.xwiki.org/xwiki/bin/view/Community/DocGuide#HScreenshots2FImages (was very large)! :wink:

Two examples:

https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Performances/?viewer=changes&rev1=96.1&rev2=97.1

https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Performances/?viewer=changes&rev1=53.1&rev2=54.1

This one is not about the recommended settings. Itā€™s just what we use on xwiki.org.

Same here.

FTR I had checked before asking you and couldnā€™t find any recent change of the recommendations which is why I was surprised you mentioned it changed. You said you applied the new settings and I still donā€™t know what this means. I wanted to make sure I didnā€™t miss anything.

If you could clarify that would be great.

Thx

Letā€™s go back to the beginning.

  1. xwiki was cpu spiking and not returning requests.
  2. I changed the CATALINA_OPTS parameters on my server.
  3. Things started working.

The old CATALINA_OPTS I was using came from how you run xwiki.org, from years ago. The new CATALINA_OPTS I am now using come from how you are running xwiki.org today.

Thatā€™s it.

Thanks. The xwiki.org settings are actually not recommendations.

So from what you said above at https://forum.xwiki.org/t/incessant-timeouts-slow-performance-overall/3595/17?u=vmassol you just changed the max memory from 512M to 1600M. You also changed the perm size from 196M to 222M. All the other parameters were unchanged)

If you check the recommendations they say:

Small and medium installs: A minimum of 1024MB (-Xmx1024m)
Large installs: 2048MB or beyond (-Xmx2048m).

So you were simply not providing enough memory since the minimum XWiki needs is 1024MB and thatā€™s already part of the recommendations (and FTR this hasnā€™t changed for about 8-9 years).

So it seems weā€™re good on the doc side, do you agree?

Thanks and have a great weekend.

BTW if youā€™re on java8, the recommendation also say you donā€™t need the perm sizeā€¦

Since XWiki requires java8 since a few years now, youā€™re probably on java8.

PS: We need to edit the xwiki.org settings since theyā€™re no longer current for the same reason.

This is actually not correct. Iā€™ve just noticed that the old recommendation for XWiki < 8.1 for small install was 512MB. I guess we increased the memory need after 8.1.

Done.

Just gave glowroot a try - itā€™s even easier to install than javamelody. Thanks for the tip!