Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sonosCache directory is constantly filled #222

Open
jens-maus opened this issue Jan 31, 2024 · 2 comments
Open

sonosCache directory is constantly filled #222

jens-maus opened this issue Jan 31, 2024 · 2 comments
Labels

Comments

@jens-maus
Copy link
Contributor

Describe the bug
Over time the /opt/iobroker/iobroker-data/sonosCache path that contains cached image files seems to be constantly filled up with new cache files. Here it already occupies about 4GB of disk space with the oldest file from Nov 2019 (the time at which this new sonosCache dir had been introduced:

iobroker:~$ du -hs /opt/iobroker/iobroker-data/sonosCache
4.1G    /opt/iobroker/iobroker-data/sonosCache
iobroker:~$ ls -lat /opt/iobroker/iobroker-data/sonosCache | tail -1
-rw-rwxr--+  1 iobroker iobroker    3222 Nov 21  2019 d9d70057837f4af5dd406e75b44f2036

To Reproduce
Steps to reproduce the behavior:

  1. Check the content of your /opt/iobroker/iobroker-data/sonosCache directory
  2. Note that when using iobroker.sonos on a daily basis the content of that sonosCache dir is constantly increasing

Expected behavior
iobroker.sonos should have a mechanism to clear/delete old cache files over time so that it might not fill up systems until they run out of disk space.

Versions:

  • Adapter version: 3.0.0
  • JS-Controller version: 5.0.19
  • Node version: 18.19.0
  • Operating system: Ubuntu Linux 22.04.3 LTS
@ch90045
Copy link

ch90045 commented Feb 13, 2024

Got the same issue

@Apollon77
Copy link
Contributor

Ok then question ... which timeframe the cache should hold? Can you please have a look at the cached content and propose something? 1 day? 2 weeks? 4 weeks? 3 months?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants