drolbr / Overpass-API

A database engine to query the OpenStreetMap data.
http://overpass-api.de
GNU Affero General Public License v3.0
692 stars 90 forks source link

Reclaim used space #679

Closed boldtrn closed 1 year ago

boldtrn commented 1 year ago

I am hosting an Overpass instance. Lately I am running out of space. There are huge .log files.

For example:

39G transactions.log
6.3G    changes.log

Can these files be deleted safely?

drolbr commented 1 year ago

39G transactions.log

Yes, this can be deleted. Personally, I use a cronjob to rotate the file, and finally try to discover odd patterns on the public instance. But on a working private instance, there is probably no reason to keep the file.

6.3G changes.log

There is no such file on the public instances, and such a filename is even not contained in the source code.

boldtrn commented 1 year ago

Thank you very much for clarifying. The changes.log seems to be generated by Docker image: https://github.com/wiktorn/Overpass-API/blob/a67f35ffa01233aa8de57e189c8c012dbbd580f0/bin/update_overpass.sh#L82

I removed both files.