SAP Knowledge Base Article - Preview

2589737 - Slow Performance and BLOCKED HashCodeBuilder threads when adding to cart in SAP Commerce

Symptom

When a storefront is under load and many users are adding items to their carts, there is a slowdown in performance. Taking a thread dump from the time of the slowdown will show many BLOCKED threads similar to this:

"hybrisHTTP190" prio=5 tid=0x490 nid=0x1e6 BLOCKED owned by hybrisHTTP420 Id=822 - stats: cpu=27412 blk=-1 wait=-1
java.lang.Thread.State: BLOCKED
at org.apache.commons.lang.builder.HashCodeBuilder.unregister(HashCodeBuilder.java:550)
- waiting to lock java.lang.Class@1a889760
at org.apache.commons.lang.builder.HashCodeBuilder.reflectionAppend(HashCodeBuilder.java:180)
at org.apache.commons.lang.builder.HashCodeBuilder.reflectionHashCode(HashCodeBuilder.java:365)
at org.apache.commons.lang.builder.HashCodeBuilder.reflectionHashCode(HashCodeBuilder.java:404)
at de.hybris.platform.ruleengineservices.rao.AbstractActionedRAO.hashCode(AbstractActionedRAO.java:55)
at org.drools.core.base.extractors.BaseObjectClassFieldReader.getHashCode(BaseObjectClassFieldReader.java:182)
...


            


Read more...

Product

SAP Commerce Cloud 2105 ; SAP Commerce Cloud 2205 ; SAP Commerce Cloud 2211

Keywords

hybris, addtocart, RAO, Promotions, Drools, Rules, newpromotionsengine , KBA , CEC-SCC-COM-PRO-RE , Rule Engine , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.