Legacy Knowledge Base
Published Jul. 2, 2025

Service keeps on restarting

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.
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM).

Issue

  • The service running on Liferay SaaS keeps on restarting without any errors

Environment

  • Liferay SaaS

Resolution

  • When the service is on a restart loop even there is no high memory and CPU usage, the first step of checking would be removing the liveness and readiness probes from their respective service's LCP.json file. If the server gets stable, the root cause could be because of liveness and readiness.
  • If this is the case, probably the service is taking longer than normal to get up. Checking and adjusting the liveness and readiness probes would help
    "initialDelaySeconds": ,
    "periodSeconds": ,
    "timeoutSeconds": ,
  • Since the service is taking a little more than normal to startup before it got fully started up, the liveness was running and failing, and once it fails, it restarts the container, so it got in an infinity loop doing this process. Now increasing the `initialDelaySeconds` to higher would make the liveness probe to wait for some more time and then tries to check if the service is up.

Additional Information

Did this article resolve your issue ?

Legacy Knowledge Base