Tileserver stops after 3 days
CarlosVMX1 opened this issue · 8 comments
Hello, I'm using SwiftTileserverCache for a Discord channel but after 3 days the messages stops getting maps, I have rebooted Docker and that fixed it, so my question is if I need to reboot Docker every other day or if I have some configuration missing to flush the cache or something like that.
Please check if there are errors in the logs. You should not need to restart SwiftTileserverCache.
Not sure if related, but i'm seeing increased memory usage overtime with latest SwiftTileserverCache. Docker down up fixes it, but is it possible there is a memory leak?
whats using the memory? SwiftTileserverCache?
yes SwiftTilerserverCacheApp
SwiftTilerserverCacheApp is using 6%-10% of my server memory (8gb), so for now I put a cron to restart docker each 12 hours to keep all working
1.0.4+ potentially fixes this.
If this is still an issue please re-open this.
Still an issue but fixed in #6
Cause of issue: https://bugs.swift.org/browse/SR-6450
Fixed by updating Swift to 5.2.3
Thank you, I changed to the vapor branch and will report how it goes, for now all looks good.