Overpass-API icon indicating copy to clipboard operation
Overpass-API copied to clipboard

Reclaim used space

Open boldtrn opened this issue 1 year ago • 1 comments

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?

boldtrn avatar Oct 27 '22 21:10 boldtrn

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.

drolbr avatar Oct 29 '22 20:10 drolbr

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.

boldtrn avatar Oct 30 '22 15:10 boldtrn