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

Really high memory usage due to mysqld #48

Open
MattAlexMiracle opened this issue Dec 18, 2021 · 1 comment
Open

Really high memory usage due to mysqld #48

MattAlexMiracle opened this issue Dec 18, 2021 · 1 comment

Comments

@MattAlexMiracle
Copy link

Hi,
As of recent I've had stability problems with the wandb container. I narrowed it down to absurd memory usage of the mysqld:
On my system (Ryzen 1600, 32GB ram, Arch-linux) a bare wandb instance spawns dozens of mysql processes that in total take up 16GB+ or memory.
I was able to narrow it down to
docker-library/mysql#579
In mysql.
I was able to confirm that the fix proposed there (running the container with --ulimit nofile=262144:262144 fixed the issue entirely (I still have a lot of mysqld processes, but they only take up a couple of mb in total).

Maybe consider adding this by default or document this as a known issue of mysqld so other people can find it?

@vanpelt
Copy link
Contributor

vanpelt commented Dec 20, 2021

Thanks @MattAlexMiracle this is really helpful. We'll look into adding this to default local command.

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