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

ウイルス対策を有効にした後、ClamAVSizeLimitException で 10 MB を超えるファイルをアップロードできない

written-by

Aaron Wang

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

問題

  • ログに次のエラーが表示され、ウイルス対策を有効にした後、10MB を超えるファイルをアップロードできません
2021-07-19 08:35:43.476 ERROR [http-nio-8080-exec-9][PortletServlet:119] javax.portlet.PortletException: fi.solita.clamav.ClamAVSizeLimitException: Clamd size limit exceeded. Full reply from server: INSTREAM size limit exceeded. ERROR_ [Sanitized]
javax.portlet.PortletException: fi.solita.clamav.ClamAVSizeLimitException: Clamd size limit exceeded. Full reply from server: INSTREAM size limit exceeded. ERROR_ [Sanitized]
at com.liferay.portal.kernel.portlet.bridges.mvc.BaseMVCActionCommand.processAction(BaseMVCActionCommand.java:69)
at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.callActionMethod(MVCPortlet.java:378)
at com.liferay.portal.kernel.portlet.LiferayPortlet.processAction(LiferayPortlet.java:88)

環境

  • Liferay DXP 7.2

解決

  • このエラーは、 Clamav の ファイルサイズ制限 構成が原因であり、ClamAV/clamd.conf の次のプロパティの値を増やすことで解決できます。
MaxScanSize 1000M
MaxFileSize 1000M
StreamMaxLength 1000M

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base