Excessive WARNING Cache Messages in catalina.out for Confluence

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Fisheye および Crucible は除く

問題

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
      removeCacheEntry(path);
      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

最終更新日 2017 年 11 月 20 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.