trillions of session files
-
Today I discovered that
/app/data/writable/sessioncontained so many files thatls -lafailed. The result: the backup took an absolute age.I've now set up a cron job to delete the folder every week.
Let's see if this works. -
Castopod seems to use default php session functionality. Maybe we have to explicitly set https://www.php.net/manual/en/session.configuration.php#ini.session.gc-maxlifetime though it should have a sane default according to docs.
How does your session cleanup script look like? Maybe we have to add this to the package then.
-
Castopod seems to use default php session functionality. Maybe we have to explicitly set https://www.php.net/manual/en/session.configuration.php#ini.session.gc-maxlifetime though it should have a sane default according to docs.
How does your session cleanup script look like? Maybe we have to add this to the package then.
-
Hello @luckow
An app update will be aviable soon.
This update moves the following folders in/app/data/writable(session|cache|logs)to/run/castopod/writable/and/app/data/writable/tempto/tmp/castopod.
This will reduce the backup size and also automatically clear the session files.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login