Question

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>
Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top