Business Central gets progressively slower opening BPM diagrams in JBoss BPM Suite 6.0.2

Solution Verified - Updated -

Environment

  • Red Hat JBoss BPM Suite 6.0.x

Issue

  • There is an instance of Business Central running on JBoss that has a few repositories and projects in it. When creating a new business process the editor opens up quickly as it should be. However, once created a larger and more complex process, the load times go into the minutes.
  • Business Process load time in business central is extremely slow.

Resolution

As stated in 6.0.2 Release Notes - Known issues, the GIT repository underlying Business Central has issues with garbage collection. Only a few git commands call gc --auto by default. Therefore, the repository's object database continues to grow significantly every time the business processes are opened. This affects the performance of Business Central. To fix this you can run the git garbage collector in one of several ways:

# Run garbage collection in auto mode, allowing
# git to determine if it is needed before running.
#
$ cd <path-to-repos/project-repo>
$ git gc --auto


# Run garbage collection aggressively to prune
# everything it can, which will take longer.
#
$ cd <path-to-repos/project-repo>
$ git gc --aggressive --prune=all

This issue is fixed in JBoss BPM Suite 6.1.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments