legacy-knowledge-base
公開されました Jul. 2, 2025

/tomcat/temp/liferay/s3の一時ファイルは7日間保存されます。

written-by

Michael Warren Young

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

  • ドキュメントをアップロードすると、/tomcat/temp/liferay/s3ディレクトリに一時ファイルが作成されます。
  • これらのファイルは7日間保存され、その結果、多くの余分なディスク容量が消費されます。

環境

  • Liferay DXP 7.1+
  • Amazon S3

解決

  • これらのファイルがキャッシュに保存される時間の長さは、 コントロール パネル> 設定> システム設定 > ファイル ストレージ > S3 > キャッシュディレクトリのデータ保持日数で設定できます。
  • 値は日単位で設定され、デフォルトでは 7 です。
  • この値を 1 に下げると、このキャッシュは毎日クリアされます。

 

 

did-this-article-resolve-your-issue

legacy-knowledge-base