[PR #11823] Add Env Var to disable second level cache #13015

Closed
opened 2026-02-07 07:05:42 +03:00 by OVERLORD · 0 comments
Owner

Original Pull Request: https://github.com/jellyfin/jellyfin/pull/11823

State: closed
Merged: Yes


Changes

This is an attempt to track down possible causes of remaining database lockups. Add an environment variable to disable the second-level cache entirely to see if it works better on systems that still experience lockups.

For example (note the double underscore __ between SQLITE and disableSecondLevelCache is required):

export  JELLYFIN_SQLITE__disableSecondLevelCache=true

This is not a guaranteed fix, just an option for (advanced) users to test if it improves the situation. So it may be removed in future version.

Issues

See #11589 #11813 #11834

Probably also others I'm not aware of.

**Original Pull Request:** https://github.com/jellyfin/jellyfin/pull/11823 **State:** closed **Merged:** Yes --- <!-- Ensure your title is short, descriptive, and in the imperative mood (Fix X, Change Y, instead of Fixed X, Changed Y). For a good inspiration of what to write in commit messages and PRs please review https://chris.beams.io/posts/git-commit/ and our documentation. --> **Changes** <!-- Describe your changes here in 1-5 sentences. --> This is an attempt to track down possible causes of remaining database lockups. Add an environment variable to disable the second-level cache entirely to see if it works better on systems that still experience lockups. For example (note the double underscore `__` between `SQLITE` and `disableSecondLevelCache` is required): ``` export JELLYFIN_SQLITE__disableSecondLevelCache=true ``` This is not a guaranteed fix, just an option for (advanced) users to test if it improves the situation. So it may be removed in future version. **Issues** <!-- Tag any issues that this PR solves here. ex. Fixes # --> See #11589 #11813 #11834 Probably also others I'm not aware of.
OVERLORD added the pull-request label 2026-02-07 07:05:42 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#13015