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

SGX memory leak during long-time usage #432

Open
OleksanderSalamatov opened this issue Feb 28, 2024 · 1 comment
Open

SGX memory leak during long-time usage #432

OleksanderSalamatov opened this issue Feb 28, 2024 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@OleksanderSalamatov
Copy link

Instances with our testnet SGX servers are working without reboot for almost three years now, and RAM and swap usage is high.
Seems like SGX have memory leaks during long-time usage without reboot.
SGX continue working when all RAM is used, but nodes experience high latency for SGX calls

SGX Version: sgxwallet_release:1.83.0-stable.1

Uptime:

Uptime: 987 days, 3 hours, 52 mins
Uptime: 1041 days, 6 hours, 2 mins

Memory usage:
For first server swap file was already existent
image
image
For the second server swap was activated for test of leakage
image
image

@olehnikolaiev
Copy link
Contributor

olehnikolaiev commented Dec 10, 2024

one of the problems is this
cinemast/libjson-rpc-cpp@aff0e24#diff-e9f0521b790cc326d3420f82b2a208ad8e0d92b1dbafdb34d95a0c97b7096e05R200

need to add corresponding changes to our code and re-check the memory growth

olehnikolaiev added a commit that referenced this issue Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

4 participants