-
-
Notifications
You must be signed in to change notification settings - Fork 236
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
Docker Container Infinitely Grows #966
Comments
Interesting, it looks like tsx may be misbehaving. Could you check out the built image in the PR above and see if that fixes it? If |
It appears the issue still exists, albeit the rate does seem slower. I cloned the repo, checked out the branch, and ran Below you can see relevant command outputs.
|
The comment here has a image tag that you can pull directly to get the PR code instead of building it yourself. But yes, the new output looks correct (no more esbuild caching). I'll try to reproduce this locally. |
I left Muse running for about 10m. I observed When you're observing the behavior, could you go into the container with |
So we've been playing music with the bot for several hours a day every day and the
The output you requested is as follows:
Running without
I notice |
I ran a couple
|
And the command which launched the process which is generating the data:
I captured this by installing |
This is strange,
Was this when you were observing the 2.7 GB |
Problematic Behavior
Something within the Docker container appears to be writing to the container's filesystem causing it to grow infinitely in size, resulting in the container's
overlay2
file to eventually fill the disk.Expected Behavior
Container doesn't write to un-mounted directories within the container (or, at least not continually).
Background
This VM only hosts this Docker container and an NGINX server which is a forward-proxy for some streaming URLs that need to remain private and has 32GB of disk space allocated to it.
In the below output you can see me run
du -cs /var/lib/docker/*
back-to-back with a period of only a few seconds between the two and the size of theoverlay2
folder growing in that short time (the bot is actively streaming in Discord). You can also see I only have the one Docker container running.This StackOverflow post suggested looking into files being written in the container by running
docker container diff <container_name/id>
, which I did, and you can see the output here.For the sake of completeness, my compose file is:
The text was updated successfully, but these errors were encountered: