-
Notifications
You must be signed in to change notification settings - Fork 0
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
large api/map requests still result in "out of memory" messages #22
Comments
Further restrict bounds, num nodes to reduce memory requirements
This appears to be the reason the server hung last time: https://community.nitrous.io/posts/stability-and-a-linux-oom-killer-bug Doesn't address why we're running out of memory, but updating to kernel > 3.13 should prevent us from getting locked out of the machine. |
Useful for watching resource usage of specific pids:
|
Did some load testing of selcolumbia/osm-gridmaps-cgimap:0.3 (bounds restricted to 1000 sq degrees) vs osm-gridmaps-cgimap:0.4 (bounds restricted to 100 sq degrees). Found the former maxing out at over 14G while the latter remained at about 3G under the same load. From this, it appears that cgimap loads all tiles for the bounding box into memory and also places that into postgres. That's consistent with the load profile, but will confirm. This doc on osm quad_tile impl will be helpful. |
Helpful quick load test: Put 20 http requests into a file
Execute them in parallel
Monitor docker container memory
|
Either address or limit number of nodes/area.
The text was updated successfully, but these errors were encountered: