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)!
Two examples:
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.
- xwiki was cpu spiking and not returning requests.
- I changed the CATALINA_OPTS parameters on my server.
- 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 Incessant timeouts; slow performance overall - #17 by crw 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!