Legacy Knowledge Base
公開されました Jul. 2, 2025

サービスが再起動し続ける

Written By

Sivakumar Perumal

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

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

問題

  • Liferay Experience Cloud で実行されているサービスは、エラーなしで再起動し続けます

Environment

  • Liferay Experience Cloud

解決策

  • メモリと CPU の使用率が高くなくても、サービスが再起動ループにある場合、チェックの最初のステップは、それぞれのサービスの LCP.json ファイルから liveness および readiness プローブを削除することです。 サーバーが安定した場合、根本的な原因は活性と準備が整っていることが原因である可能性があります。
  • この場合、サービスの起動に通常よりも時間がかかっている可能性があります。 liveness プローブと readiness プローブを確認して調整すると役立ちます
    "initialDelaySeconds": ,
    "periodSeconds": ,
    "timeoutSeconds": ,
  • サービスが完全に起動する前に起動に通常よりも少し時間がかかるため、ライブネスが実行されて失敗し、失敗するとコンテナーが再起動されるため、このプロセスを実行する無限ループに陥りました。 ここで、「initialDelaySeconds」をより高い値に増やすと、ライブネス プローブがさらにしばらく待機してから、サービスが起動しているかどうかを確認しようとします。

追加情報

Did this article resolve your issue ?

Legacy Knowledge Base