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

Memory leak, Dockerized on Railway #1781

Open
danfascia opened this issue Oct 6, 2024 · 7 comments
Open

Memory leak, Dockerized on Railway #1781

danfascia opened this issue Oct 6, 2024 · 7 comments

Comments

@danfascia
Copy link

CleanShot 2024-10-06 at 20 10 27@2x

This is the memory usage pattern for my 35Mb SQLite DB running on LibSQL in a container on Railway. Over time the memory usage just grows and grows.

CleanShot 2024-10-06 at 20 11 07@2x

If I restart the container, the usage drops dramatically.

Is there a known issue running in Docker containers with memory leaking?

@harryvince
Copy link

+1

@jeremybarbet
Copy link
Contributor

I'm seeing something similar in some cases. Do you have bottomless enabled?

@harryvince
Copy link

Just sqlean uuid extension and custom data directory plus host port. Other than that using the libsql docker image

@avinassh
Copy link
Member

Hello, which version of libsql server are you using?

Can you try disabling metrics, by setting an env variable:

export LIBSQL_DISABLE_METRICS=true

@harryvince
Copy link

Hi I'll do this now, and i'm using v0.24.26

@danfascia
Copy link
Author

It's a repeat problem - I cannot figure it and I just have to restart the server every so often to reset the memory usage to a baseline of ~100Mb

@avinassh
Copy link
Member

@danfascia could you share your version information? are you noticing issue despite disabling the metrics?

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

4 participants