Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

portal运行一段时间后宕机,如何排查 #5346

Closed
SirCFC opened this issue Feb 26, 2025 · 1 comment
Closed

portal运行一段时间后宕机,如何排查 #5346

SirCFC opened this issue Feb 26, 2025 · 1 comment

Comments

@SirCFC
Copy link

SirCFC commented Feb 26, 2025

Image

启动日志如下

@SirCFC SirCFC closed this as completed Feb 26, 2025
Copy link

dosubot bot commented Feb 26, 2025

To address the issue of the Apollo portal crashing after running for a period of time, consider the following recommended practices to prevent such crashes:

  1. Namespace and Configuration Item Limits:

    • Enable and configure limits on the number of namespaces and configuration items to prevent resource exhaustion. This can be done by setting namespace.num.limit.enabled and item.num.limit.enabled to true, and adjusting namespace.num.limit and item.num.limit accordingly [1][2].
  2. Cluster Management:

    • Ensure cluster names are consistent with IDC attributes in the server.properties file. This helps maintain a clear cluster structure and prevents misconfigurations [1][2].
  3. Security and Permissions:

    • Implement authentication and fine-grained permissions to control access and prevent unauthorized changes that could lead to instability [1][2].
  4. Release Audits:

    • Enable release audits in production environments to ensure configuration changes are reviewed before being applied [1][2].

These practices help manage resources effectively and maintain application stability. If the issue persists, reviewing the logs for specific error messages or exceptions related to Tomcat, Hibernate, or Spring components could provide further insights into the cause of the crashes.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant