Session table growing after switch to redis
-
20-10-2020 - |
Вопрос
We recently switched our sessions to REDIS and we noticed that our session table in the database is growing and is now 15gb
Here is my config
<session_save><![CDATA[db]]></session_save>
<redis_session>
<host>xxxxx</host>
<port>6379</port>
<password>xxxxxxxxxx</password>
<timeout>2.5</timeout>
<persistent></persistent>
<db>0</db>
<compression_threshold>2048</compression_threshold>
<compression_lib>gzip</compression_lib>
<log_level>4</log_level>
<max_concurrency>6</max_concurrency>
<break_after_frontend>5</break_after_frontend>
<break_after_adminhtml>30</break_after_adminhtml>
<bot_lifetime>7200</bot_lifetime>
</redis_session>
Решение
I found that the module Cm_RedisSession.xml was set to false and that this needs to true. I had thought that with the new version of Magento we would use the Mage_ name space and the Cm_ name space was legacy.
Не связан с magento.stackexchange