40k session files ?!
Solved
Moodle
-
I discovered that a backup of Moodle (in production but only a few test users) took extremely long, I've found the reason why: in the data/moodledata/sessions there are 40k+ session files, each 2KB all together more than 80MB!
How can we manage this huge amount or can this be stored in db?
-
@imc67 I will try moving it to redis - https://docs.moodle.org/310/en/Session_handling#Database_session_driver
-
I have moved sessions to redis in the upcoming package.