Performance problems with jBPM process creation under high load in BRMS 5.3

Solution Verified - Updated -

Issue

We are testing an application based on jBPM 5.2, and we are experiencing that response time is too long for our business requirements. Analysing the logs, we observed that the creation of a new session is really time expensive (about 6 seconds, in some cases).

From the captured threads-dump we found that many threads are in "waiting on monitor" state, on the "jbpm.task.service.TaskService.initialize" call from within our class.

    protected LocalTaskService createTaskService(EntityManagerFactory emf) {
        TaskService taskService = new TaskService(emf, SystemEventListenerFactory.getSystemEventListener());
        return new LocalTaskService(taskService);
    }

Environment

  • JBoss Enterprise BRMS
    • 5.3.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content