# How can I troubleshoot disk usage by XWiki?

**URL:** <https://forum.xwiki.org/t/how-can-i-troubleshoot-disk-usage-by-xwiki/16657>\
**Category:** Help / Discuss\
**Created:** [March 11, 2025, 2:24pm UTC](https://forum.xwiki.org/t/how-can-i-troubleshoot-disk-usage-by-xwiki/16657 "2025-03-11T14:24:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![franciscol](https://forum.xwiki.org/letter_avatar_proxy/v4/letter/f/b5ac83/32.png) [@franciscol](https://forum.xwiki.org/u/franciscol)\
**Post date:** [March 11, 2025, 2:24pm UTC](https://forum.xwiki.org/t/how-can-i-troubleshoot-disk-usage-by-xwiki/16657/1 "2025-03-11T14:24:58Z")

</div>

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:

 ![image](https://forum.xwiki.org/uploads/default/original/2X/6/6b11c68375aa1528127ef3c95de20ade0e497edd.png)

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 `

```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.
