-
Notifications
You must be signed in to change notification settings - Fork 70
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
Severe memory leak #68
Comments
Thanks for raising this issue! In 1.8.2 I updated uwsgi by a couple of versions (plus a bunch of other dependencies), any of those could have triggered the issue. I've also only been running up to 1.8.0 in production with no issues. So downgrading to 1.8.0 might also be a solution if you need features from later releases. I'll look into replicating this and debugging uwsgi / the root cause shortly. I also think |
Hello, @ajnisbet I can confirm there is a memory-leak using the latest github version (2-days old). I was wondering, my my job keep being cancelled over a period of 3-4 hours. On grafana (screenshot below) I can see this. I have computed 3 million datapoints for a research-project. Mainly all parameters are default (as in the code). We use the dataset eudem. |
I was able to replicate this, it should be fixed in 1.8.3 which I released just now! I'm still not sure what the root cause is, but downgrading For good measure I added some uwsgi worker reloading parameters as suggested by @stx. I have these enabled on gpxz.io which may have hidden the problem there.
None of the issues on rasterio seem to match so the root cause is still a mystery. Hopefully it'll disappear one day in a future version of rasterio. |
Thanks for your work on this awesome project.
We upgraded from 1.7.1 to 1.8.2 and and we're now seeing an infinite memory leak until the server dies. It is very painful.
We're using the stock repo config with ASTER 30m and with
listen = 1024
added touwsgi.ini
.By the time I finished writing this, the memory used has already gone up to 3.5GB.
Can workaround/fix it by adding
reload-on-as = 512
touwsgi.ini
.The text was updated successfully, but these errors were encountered: