cancel
Showing results for 
Search instead for 
Did you mean: 

Threads in BLOCKED Status

Former Member
0 Kudos

Hi,

We are using Hybris version 5.3.0.3. In the Hybris server we are seeing lot of threads in BLOCKED status. Below is the statck trace.link text

java.lang.Thread.State: BLOCKED at de.hybris.platform.jalo.order.AbstractOrder.setCurrency(AbstractOrder.java:1102) - waiting to lock de.hybris.platform.jalo.order.Cart@46ba30c5 at sun.reflect.GeneratedMethodAccessor740.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at de.hybris.platform.jalo.type.ReflectionAttributeAccess$AttributeMethod.invokeSetter(ReflectionAttributeAccess.java:797) at de.hybris.platform.jalo.type.ReflectionAttributeAccess.setValue(ReflectionAttributeAccess.java:965) at de.hybris.platform.jalo.Item.setAttribute(Item.java:2310) at de.hybris.platform.jalo.Item.setAllAttributesInternal(Item.java:2143)

Thanks & Regards, Siva

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

This issue may occur with different scenario's. Last time someone in our project created a replenishment order to trigger for every 3 seconds. Which caused to block the threads. We removed that replenishment job and restarted the server to fix this.

You may check such situations in your projects for the same.

Thanks

Former Member
0 Kudos

Hi Vinay,

Thanks for the reply. We had cross check on different scenarios. But no luck.

Thanks, Siva

Former Member
0 Kudos

restart the server by disabling all cron jobs

Former Member
0 Kudos

This issue is occurring after couples of days the server is started.