cancel
Showing results for 
Search instead for 
Did you mean: 

Tasks not getting processed due to DB locks when using multiple Job Servers

leanpreneur
Champ in-the-making
Champ in-the-making
Hello,

When doing performance testing, we are running into database locks that result in tasks not getting processed. This is happening only when we have more than one job server running. Per http://www.mastertheboss.com/jboss-jbpm/activiti-bpmn/clustering-activiti-bpmn page, the job will be executed by one of the engines. However, for us, some jobs are in unfinished state after the performance test completes. We see optimistic locking exceptions in the logs. Any pointers? We are using Activiti 5.1.17.

Thanks in advance!

-A
2 REPLIES 2

trademak
Star Contributor
Star Contributor
Hi,

Are you using the async executor or the old job executor? Would be good to see if you can reproduce the issue on 5.19.0 as well.

Best regards,

leanpreneur
Champ in-the-making
Champ in-the-making
Thanks! Appreciate your input. We are using Async Executor. We will try 5.19.0 and update shortly.

Thanks again.

-A