wiedehopf / tar1090

Provides an improved webinterface for use with ADS-B decoders readsb / dump1090-fa
Other
1.25k stars 236 forks source link

Cache housekeeping? #45

Closed giddyhup closed 4 years ago

giddyhup commented 4 years ago

My Raspberry Pi's file system ran out of inodes. I noticed that /var/cache/lighttpd/compress/tar1090 is filling up rapidly. Is there something I can do to prevent this?

Edit: if this is not a real issue I'd simply set up my own clean-up cron job.

wiedehopf commented 4 years ago

That's not my issue because the default behaviour doesn't cache compressed json in lighttpd.

Anyhow remove the cache dir line from your lighttpd config and it will stop caching and instead compress on the fly.

giddyhup commented 4 years ago

@wiedehopf, please accept my honest apology for blaming tar1090 for causing this. Apparently, another feeder/gui activated the compression mod and that mod's default 30 day cleanup policy and default settings do not go well together with the dynamic content delivered.

wiedehopf commented 4 years ago

Just remove the cache dir line from the lighttpd config and you'll be fine.

No problem, have a nice day!