Issue Bug Closed

#99589Huge amount of records in cache_hash table with maximum lifetime

K Ch 01/18/23, 07:00 updated 01/23/23, 18:04

Description

I noticed that cache_hash table contains massive amount of records with lifetime 2145909600. The table „cache_hash“ itself had a size of 241 GB and these records can not be removed by Table garbage collection (scheduler) because the mentioned lifetime.

As I can see Typo3DatabaseBackend contains constant which is called FAKED_UNLIMITED_EXPIRE with value 2145909600. It seems that unlimited expire value is used for some caching entries if provided lifetime param is 0. These entries contain following tags: ident_TMPL_CONDITIONS_ALL , ident_TS_TEMPLATE.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.