1

We are using Magento 1.5.1.0 version for the main website.

There are around 1000 orders placed in the website and 1500 avg visitors on site.

We are using mongodb to store the sessions the mongodb size was increasing 4GB on every day.

Can you please provide some suggestions to optimize / minimize the storage of sessions.

Thanks

  • 2
    Lack of a housekeeping routine to remove expired sessions? – Fiasco Labs Nov 5 '14 at 6:00
  • can you help how to identify and remove expired sessions? – Kumar Kulandai Nov 5 '14 at 6:40
  • You're using a fairly non-standard session storage system for Magento with MongoDB. To add, the driver should implement a cleaning system. For example the database driver that Magento has for its sessions continuously checks to remove old sessions whenever it's interacting with the sessions table. – Rian Nov 7 '14 at 23:27