Hello, I’m having an issue with XWiki and I’d like to know how can I start troubleshooting the site in order to find the culprit - My challenge is this:
As you can see, my disk “reads” go through the roof and I am not quite sure why!
I was checking my catalina logs and I found these error messages:
Unable to add the resource at [/WEB-INF/classes/META-INF/services/org.xwiki.component.annotation.ComponentDependencyFactory] to the cache for web application [{1}] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
The problem I have is that my configuration currently reads:
/opt/tomcat/apache-tomcat-9.0.95/webapps/xwiki/META-INF/context.xml
<Context containerSciFilter="org.apache.jasper.servlet.JasperInitializer">
<JarScanner>
<JarScanFilter defaultTldScan="false"/>
</JarScanner>
<!-- We need to set the resource cache size since the default (10K) is too small for loading all XWiki resources at
once -->
<Resources cacheMaxSize="512000" />
</Context>
Which I understand should already enable the cache to be of MaxSize of 500MB - Which wouldn’t explain why I am still getting an error message, may I know how can I check if I’m doing it right?
Would this be the reason my disk reads are going through the roof?
Are there any other log-files that I am missing in terms of checking the performance/stability of the page?
Thanks.