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 in storage when copying #3891

Closed
sanderegg opened this issue Feb 17, 2023 · 5 comments
Closed

Possible memory leak in storage when copying #3891

sanderegg opened this issue Feb 17, 2023 · 5 comments
Assignees
Labels
a:storage issue related to storage service bug buggy, it does not work as expected High Priority a totally crucial bug/feature to be fixed asap t:maintenance Some planned maintenance work
Milestone

Comments

@sanderegg
Copy link
Member

As discovered it seems the memory usage of the storage service might be leaking.

It could be identified as linked to copying process which uses aioboto3 copy function.

Investigation needed:

  • create a test or enhance the test for copying and check the memory usage
  • maybe the copy parameters need to be modified

Issue created from a Mattermost message by @mrnicegyu11.

@sanderegg sanderegg added the bug buggy, it does not work as expected label Feb 17, 2023
@sanderegg sanderegg self-assigned this Feb 17, 2023
@sanderegg sanderegg added the High Priority a totally crucial bug/feature to be fixed asap label Feb 27, 2023
@mrnicegyu11
Copy link
Member

Storage now takes 7.5 Gb on aws-prod:
image

@sanderegg sanderegg added this to the Mithril milestone Feb 28, 2023
@sanderegg sanderegg added the a:storage issue related to storage service label Feb 28, 2023
@sanderegg sanderegg modified the milestone: Mithril Feb 28, 2023
@pcrespov pcrespov added the t:maintenance Some planned maintenance work label Mar 5, 2023
@sanderegg
Copy link
Member Author

sanderegg commented Mar 28, 2023

From today, storage seems to go up in memory by steps. It is actually still not quite clear where the memory accumulates. I will need some more testing to resolve this, and find a way to reproduce locally. In AWS prod, the memory increases by steps over the last 3 weeks.

Image

@sanderegg
Copy link
Member Author

Also it seems that this problem is affecting AWS prod only.

@sanderegg sanderegg modified the milestones: Mithril, The Next Milestone Mar 31, 2023
@sanderegg sanderegg modified the milestones: Pastel de Nata, Watermelon Jul 5, 2023
@sanderegg sanderegg modified the milestones: Watermelon, Sundae Jul 20, 2023
@sanderegg
Copy link
Member Author

the latest graphs from grafana look good. closing this case

@sanderegg sanderegg closed this as not planned Won't fix, can't repro, duplicate, stale Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:storage issue related to storage service bug buggy, it does not work as expected High Priority a totally crucial bug/feature to be fixed asap t:maintenance Some planned maintenance work
Projects
None yet
Development

No branches or pull requests

3 participants