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

Avoid scan entire sys during cpu threshold check no sysinfo upgrade #2639

Open
wants to merge 2 commits into
base: stable
Choose a base branch
from

Conversation

maqi
Copy link
Member

@maqi maqi commented Jan 16, 2025

Description

It turned out that new_all function opens FD for un-necessary system resources, which result in accumulated memory-usage issue.
Hence initialize with nothing and then refresh only related.

This PR also contains the CI test to confirm there is no extra and acculuated FDs to be held by the node process.

Type of Change

Please mark the types of changes made in this pull request.

  • Bug fix (non-breaking change which fixes an issue)

maqi added 2 commits January 16, 2025 23:51
It turned out that new_all function opens FD for un-necessary system
resources, which result in accumulated memory-usage issue.
Hence initialize with nothing and then refresh only related.
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

Successfully merging this pull request may close these issues.

1 participant