gis-ops / docker-valhalla

This is our flexible Docker repository for the Valhalla routing engine
MIT License
233 stars 69 forks source link

memory not being released #63

Closed nilsnolde closed 1 year ago

nilsnolde commented 2 years ago

@nmalasevic just encountered a serious flaw in our image, not being present in the upstream valhalla image: https://github.com/valhalla/valhalla/issues/3556#issuecomment-1058244884

also sounds pretty terrible to debug.. open for suggestions!:)

nmalasevic commented 2 years ago

Sounds like every request is behaving like an instance of it's own, so cached memory is not being reused in case of subsequent requests (same request).

nilsnolde commented 2 years ago

the way the tile cache works it shouldn't be possible (I think), also I don't see how that should be caused by the way we run things in the container. I guess it's some weird interaction of the docker entrypoint script and docker.. maybe the exec "$@" line, no idea.. will poke around a bit soon-ish.

nilsnolde commented 1 year ago

See discussion in https://github.com/gis-ops/docker-valhalla/issues/81