cancel
Showing results for 
Search instead for 
Did you mean: 

Cache entity count is more than Database entry count for cart & Stock

0 Kudos
206

We are using the 5.2.0.0 version of hybris. And we are having the huge number of cart object present in the entity cache.The number of total carts in the database are 280398 but the count of carts are around 5 lacs in cache.We are not able to relate how the cache entries can be more than Db entries for carts. We are facing the same issue with Stock models also.

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Hi , Thank you for your reply.Yes.We are using cluster environment.What we are suspecting here is expired objects are also sitting in cache which is increasing the cache count.Currently we are using OOB ehcache.xml configuration which is as below:

Former Member
0 Kudos

Is it cluster environment? It seems so - then you need to make sure that cluster is being configured correctly and cache invalidation events exchanged between cluster nodes.