developmentseed / osm-seed

A collection of Dockerfiles to run a containerized version of OpenStreetMap
https://devseed.com/osm-seed-chart/
MIT License
147 stars 33 forks source link

Cache cleaner - Delete tegola process after x numbers #298

Closed Rub21 closed 1 year ago

Rub21 commented 1 year ago

The following script is designed to remove processes that overload the container. This is especially relevant when the tegola process doesn't finish and spawns numerous processes due to extensive editing on the api-server. We manually eliminate the tegola processes and also clear the S3 cache by hand.

cc. @batpad

Rub21 commented 1 year ago

Following my discussion with @batpad, we've decided to proceed with this approach for cleaning the cache, until we find a better solution for handling the cache cleaner. I won't merge this Pull Request just yet; instead, I'll use this Helm template version to deploy it in both the staging and production environments for OHM.

Rub21 commented 1 year ago

@batpad In order to implement cgmap, and test I will merge this PR and the later we can just remove just some configurations about the tiler cache cleaner.