Excessive WARNING Cache Messages in catalina.out for Confluence

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform notice: Server and Data Center only. This article only applies to Atlassian products on the server and data center platforms.


There are excessive WARNINGs in catalina.out related to Cache Management.


The following repeatedly appears in the catalina.out

"WARNING [http-nio-8090-exec-3] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/xxxxx/xxxx/xxxxx.xxx]
 to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache"



  • This behaviour occurs regardless of the environment

Possible Cause

There is new implementation of WARNINGs in Tomcat 8 while in Tomcat 7 does not record these warnings. 

Tomcat 8
if (newSize > maxSize) {
      // Unable to create sufficient space for this resource
      // Remove it from the cache
      log.warn(sm.getString("cache.addFail", path));


This issue is fixed in Confluence 6.0.2


Suppress cache log warnings

At the moment, these WARNINGs are harmless.  To reduce the noise level of these WARNINGs:

  1. Go to Administration >> Logging and Profiling
  2. Set the logging level to ERROR for org.apache.catalina.webresources.Cache
    1. If the class does not exists, please add the class to the list

Last modified on Nov 20, 2017

Was this helpful?

Provide feedback about this article
Powered by Confluence and Scroll Viewport.