I’m running Owncloud 10.13.3 on my home Kubernetes cluster where I have a persistent volume mounted into /mnt/data on which all the config, apps, and data are stored. All well and good.
However in the process of setting up automated backups of
data I found the
sessions directory contains about 80,000 files all with a single line of content looking something like:
I’ve excluded this from backups for now, but I’m concerned because it looks like the files here are not being cleaned up, and at some point I’m going to run out of inodes on the filesystem and things may grind to a halt.
Does anyone know whether there is a way to keep this directory trimmed?
Currently my hypothesis is that the sessions from this directory are the result of the various background connections from the macos and android apps I have running, but I don’t see any documentation to that effect. What gives?
The /mnt/data/sessions directory does not grow endlessly.
The /mnt/data/sessions directory is full of 80k files and growing at about 18 every minute.
Operating system: Linux container
Web server: Apache
PHP version: 7.4.3
ownCloud version: 10.13.3
Updated from an older ownCloud or fresh install: Fresh
Where did you install ownCloud from:
Signing status (ownCloud 9.0 and above):
No errors have been found.
The content of config/config.php:
Are you using external storage, if yes which one: No
Are you using encryption: No
Are you using an external user-backend, if yes which one: No