Details
-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
18.1.0
-
None
-
Unknown
-
Description
Since 17.x, warnings like the following are thrown pertaining to insufficient cache size:
wiki-xwiki-web | 11-Mar-2026 11:20:23.280 WARNING [main] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/lib/tika-parser-image-module-3.2.3.xed] to the cache for web application [] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
Increasing the cache size in tomcat's content.xml (/usr/local/tomcat/webapps/ROOT/META-INF/context.xml) inside the container solves the issue.
A cache size of ~10 times as much (500176) as the predefined one (50176) produces no warnings, only double as much (100352) still produces warnings on my end.
Also refer to XWIKI-21881 and https://github.com/xwiki/xwiki-platform/pull/4882 which didn't solve the issue.
Attachments
Issue Links
- relates to
-
XWIKI-21881 Sticky Tomcat Cache Warnings still occur on latest XWiki version
-
- Closed
-