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

Liferay Experience Cloud - SM - Dynatrace 資格情報が設定されていない場合でも、誤った資格情報が原因で Liferay サービスが開始されない

written-by

Alfonso Crisci

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

問題

  • liferay サービスの開始中に、コンテナは次のエラーで開始できません。
    liferay[liferay] /usr/local/bin/start_liferay.sh: line 5: 64 Killed "$LIFERAY_HOME/tomcat/bin/catalina.sh" run
    liferay[liferay]
    liferay[liferay] [ERROR] Monitoring was not activated due to an error during Dynatrace configuration.
    liferay[liferay] Please check the values for the following environment variables:
    liferay[liferay] LCP_PROJECT_MONITOR_DYNATRACE_TENANT
    liferay[liferay] LCP_PROJECT_MONITOR_DYNATRACE_TOKEN
    liferay[liferay]
    [myproject-test] Back-off restarting failed container
    これは、Dynatrace 資格情報がどこにも設定されていない場合でも発生します

Environment

  • Liferay エクスペリエンス クラウド -SM バージョン 4

解決策

  • JVM メモリ設定が正しく設定されていることを確認してください。 新たにプロビジョニングされたプロジェクトのデフォルト値は次のとおりです。
    Non-prod: "LIFERAY_JVM_OPTS": "-Xms2048m -Xmx6144m"
    Prod: "LIFERAY_JVM_OPTS": "-Xms4096m -Xmx12288m"

    推奨値:
    https://learn.liferay.com/dxp-cloud/latest/en/manage-and-optimize/auto-scaling.html?highlight=xmx#jvm-memory-configuration

  • これは、サービス コンテナのメモリ制限が 8 GB で、JVM のメモリ ヒープの下限が 8 GB に設定されている場合に発生する可能性があります。 JVM はヒープ (MetaSpace、スレッドなど) よりも多くのメモリ領域を実行する必要があるため、JVM はそれ以上割り当てることができないため、それ自体がクラッシュします。

did-this-article-resolve-your-issue

legacy-knowledge-base