You are having a performance problem with the IBM Business Process Manager products.
You would like to know what documentation you must collect (MustGather) so that the IBM Business Process Manager Support team can diagnose your problem. If you gather this documentation before contacting support it will expedite the troubleshooting process, and save you time.
Diagnosing the problem
Note: Before collecting the troubleshooting data, take a look at the knowledge collection, which lists the known performance problems in the IBM Business Process Manager product. If that page does not help, provide the following MustGather data:
Getting an overall picture of the performance issue
Performance issues involve many aspects: IBM Business Process Manager server, application, database, outside connectors, network, and other variables. After the scope of the issue is narrowed, tuning can start and then performance is tested again to find the next bottleneck.
The most important first step is to accurately identify the specific action that is slow and to reproduce the condition. Intermittent performance problems are more difficult to track down.
Note: When the environment is a cluster, isolate the activity to one server. To achieve this situation, one or more of the following conditions is required:
- Turn off all nodes but one node
- Access a node directly and bypass the load balancer
- Minimize the number of users (hopefully one) to reproduce the issue. In some cases, performance degrades as more users are added to the system. A systematic control of adding users to the system might be necessary in some cases.
Provide the following information:
- Where specifically are you seeing performance problems? (for instance, the Authoring Environment, User Experience (launching a business process definition (BPD), progressing to the next coach in a flow, and so on), Custom solution code, Systemic (impacting all areas), and so on). Review the Improving application performance in IBM Business Process Manager V7.5 by using DynaCache document on developerWorks.
- Can you quantify the performance issue? How long does a specific action take? Do you have logging that shows where the time is being spent? Do you have performance tools to help analyze or collect data?
- Is this problem new or have you always had it in this environment? Do you see the same problem in other environments on the network?
- Is the performance problem consistent or does it change? Is the performance worse at certain times of day? Is performance bad under load? Does the performance improve after a restart of the application server?
- What are the hardware specifications of the machines that host the IBM Business Process Manager servers (number of CPUs, RAM, and so on)? Verify that you meet all of the system requirements.
- What are the hardware specifications of the database server?
- Do your IBM Business Process Manager and database servers run in a virtual machine? If yes, provide the software that you are using as well as its version and type. Also review the specific tuning guide.
- Which topology are you using? Are your servers clustered or stand-alone? If you have a clustered environment, provide more details (different physical machines, host names, load balancer, and so on). Make sure that all the prefix URLs, like <portal-prefix>, are pointing to the load balancer if you have one in place.
- Is your database a shared resource?
- What is the version information of your IBM Business Process Manager and other involved software?
- What is the version information of your operating system and your database server?
Collecting diagnostic information
Important: All of this data must be collected at the same time.
- Enable the SQL tracing:
In IBM Business Process Manager 7.5.x and 8.x:
In WebSphere Lombardi Edition 7.1 and 7.2:
- Reproduce the performance issue and collect the complete directories from all profiles and servers:
- Collect the Java™ virtual machine (JVM) thread dumps - Java cores separated by 30 seconds from the main Java virtual machine.
- IBM Business Process Manager 7.5.x and 8.x - server1 for stand-alone, AppTarget for clustered environment
- WebSphere Lombardi Edition - twprocsvr
Methods of collecting:
- Windows -
heapdumps (Collect this data only if you are experiencing out-of-memory problems)
Java thread dumps
- Linux - kill -3 <java_pid>
- Collect Instrumentation logging - collected for no more than five (5) minutes.
- Complete the database diagnostics:
- Diagnostic performance report from the database.
- Oracle - Automated Workload Report (AWR)
- Microsoft SQL Server - Dashboard report (v2005, v2008)
- IBM DB2 - Run the following commands against the Process Server database:
- db2 get db cfg
- db2support . -d <dbname> -c -g -s -o db2support_primary.zip
- db2support . -d <dbname> -g -s -o db2support_standby.zip
- db2evmon -path /tmp > sqltrace.txt (http://www.ibm.com/developerworks/data/library/techarticle/0303kolluru/0303kolluru.html)
- Database table queries
- select count(*) as lsw_usr_xref from lsw_usr_xref;
- select count(*) as lsw_usr_grp_xref from lsw_usr_grp_xref;
- select count(*) as lsw_usr_grp_mem_xref from lsw_usr_grp_mem_xref;
- select count(*) as lsw_grp_grp_mem_xref from lsw_grp_grp_mem_xref;
- select count(*) as lsw_grp_grp_mem_exploded_xref from lsw_grp_grp_mem_exploded_xref;
- select count(*) as lsw_task from lsw_task;
- select count(*) as lsw_bpd_instance from lsw_bpd_instance;
- select count(*) as lsw_bpd from lsw_bpd;
- select count(*) as lsw_snapshot from lsw_snapshot;
- select count(*) as lsw_project from lsw_project;
- select count(*) as lsw_favorite from lsw_favorite;
- select count(*) as lsw_poversions from lsw_po_versions;
- select code.NAME, COUNT(t.STATUS) from lsw_task t right join LSW_TASK_STATUS_CODES code on code.STATUS_VALUE = t.STATUS group by code.NAME order by code.NAME use twprocdb;
- select code.NAME, COUNT(bpd.EXECUTION_STATUS) from LSW_BPD_INSTANCE bpd right join lsw_bpd_status_codes code on code.STATUS_ID = bpd.execution_status group by code.NAME order by code.NAME;
- Diagnostic performance report from the database.
- Review problems with the slow loading of a specific page in a browser.
Examples: loading a coach, navigating the Process Inspector page, or login to the IBM Business Process Manager Portal
- Use Mozilla FireFox and the Firebug plugin. After installing Firebug, add the NetExport plugin to allow exports of the network traffic traces.
- If you are unable to use FireFox, then an alternative HTTP trace is needed that shows all the files that have been downloaded and how long it takes. The Information Technology staff at your company might have tools to monitor the speed of web pages.
- Use the following servlet to display the current number of sessions in memory for your applications. You need to call it for each server in your AppTarget cluster:
- The server_name variable is your AppTarget server that hosts the DefaultApplication.ear application.
- The port_number variable is your WC_defaulthost port for this server.
Your server must be started. Provide the output of the servlet.
Note: If your browser displays errors, check if the DefaultApplication.ear is installed and started on your AppTarget cluster. If it is not installed, you can install it from install_root /installableApps.
General diagnostic information
Collect the general MustGather information as described in Collect troubleshooting data for the IBM Business Process Manager products.
What to do next
- Review the logs and traces at the time of the problem to try to determine the source of the problem.
- Use IBM Support Assistant to search for known problems in the product documentation, forums, and technotes.
- If you cannot find related problems or cannot solve the problem, send the information you have collected to IBM by following the instructions in Exchanging Information with IBM Technical Support.
Configure Java logging (WebSphere Application Server)
BPM - Performance Tuning and Best Practices
IBM Business Process Manager - Tuning
How to resolve memory issues in BPM?
Search: WebSphere Application Server - Perf MustGather
Search: WebSphere Application Server OOM MustGather
A simplified Chinese translation is available
|Business Integration||WebSphere Lombardi Edition||General||Linux, Windows||7.2, 7.1|
|Business Integration||IBM Business Process Manager Express||Performance||Linux, Windows||8.5, 8.0.1, 8.0, 7.5.1, 7.5|
|Business Integration||IBM Business Process Manager Standard||Performance||AIX, Linux, Solaris, Windows||8.5, 8.0.1, 8.0, 7.5.1, 7.5|
|Business Integration||IBM BPM Advanced Pattern on Red Hat Enterprise Linux Server||Performance||Linux Red Hat - xSeries||8.0.1, 8.0|
|Business Integration||IBM Business Process Manager Advanced Pattern on AIX||Performance||AIX||8.0.1|