Details
Assignee
Zac SpitzerZac SpitzerReporter
Leon Miller-OutLeon Miller-OutPriority
MajorLabels
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Sprint
Affects versions
Details
Details
Assignee
Zac Spitzer
Zac SpitzerReporter
Leon Miller-Out
Leon Miller-OutPriority
Labels
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Sprint
Affects versions
Created 1 May 2024 at 21:41
Updated 26 March 2025 at 15:30
I thought I had read somewhere that Lucee would prune / trim / clean the
cf_sessions_data
table automatically. However, after running with database-backed sessions for several weeks, the table grew to be very large, with 99% of the records having expires according to theexpires
column.We have created a scheduled task to clean the table, but we shouldn’t have to do that.
FWIW, I can’t find any table cleanup in the code on the 5.4, 6.0, or 6.1 branches.
Possibly related discussion: https://dev.lucee.org/t/client-variables-database-millions-of-entries/8520/1