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

possible memory leak #136

Open
PeterRounce opened this issue Jan 20, 2025 · 4 comments
Open

possible memory leak #136

PeterRounce opened this issue Jan 20, 2025 · 4 comments

Comments

@PeterRounce
Copy link

I am managing some phoenixd instances running on VMs with modest resources (1 Gb RAM) over a long period of time.

These seem to consistently run out of memory after ~80 days with the phoenixd service being identified as having a large memory allocation and being killed by linux after an out-of-memory event.

[7234870.880996] [ pid ] uid tgid total_vm rss pgtables_bytes swapents oom_score_adj name
[7234870.909814] [ 428973] 0 428973 1124583 170759 3723264 88020 0 phoenixd

@pm47
Copy link
Member

pm47 commented Jan 29, 2025

Are you using the jvm or native distribution?

@PeterRounce
Copy link
Author

Native .. phoenix-0.4.2-linux-x64.zip

@pm47
Copy link
Member

pm47 commented Jan 30, 2025

Do you have other software running on that VM?

What kind of usage (api calls, payments) are you doing with phoenixd? Are you actively sending/receiving payments or is it pretty much idle?

@PeterRounce
Copy link
Author

It's running by itself in a docker container.

Most of the time it's idle and only gets calls when the admin console is active or people are using their bolt card. The rest of the VM is also very light use.

The VM is low resource (and low cost) from lunanode.
m.1s $3.5 PER MONTH, $0.00486 PER HOUR, 1 GB RAM,1 Virtual Core, 15 GB, SSD Storage, 1000 GB, Bandwidth

It is part of the Bolt Card Hub - Phoenix Edition project which is an open source back end to provide services for a set of bolt cards and uses this Phoenix DockerFile to provision phoenixd.

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

2 participants