storage improvements #3

Merged
Dirk-Willem-van-Gulik merged 2 commits from Michiel-Beijen/wiki:storage into main 2026-11-15 11:32:03 +01:00

I previously switched sessions and caches from in-memory to the database but this was creating pretty large mysql logs. I switched it now to Redis, which is capped at 128MB so the server will not fill up as much.

Also, debug logging was turned on, let's not do that unless we are debugging?

I previously switched sessions and caches from in-memory to the database but this was creating pretty large mysql logs. I switched it now to Redis, which is capped at 128MB so the server will not fill up as much. Also, debug logging was turned on, let's not do that unless we are debugging?
The debug log had grown to 2 GB without rotation and is switched off.
Sessions in the objectcache table caused most of the MySQL binary log
volume (about 10 GB in 30 days). They now go to the local Redis, which
keeps the goals of the earlier change: sessions survive Apache reloads and
are not evicted from APCu. The password comes from WIKI_REDIS_PASSWORD in
.env.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
msl/wiki!3
No description provided.