Monday, March 11, 2013

CPU Starvation and OOM Error occured while access Role Binding Tab

Problem::
Problem occurs while accessing Role Binding tab on the Process Server Environment where there are lots of projects and snapshots deployed.
We have faced CPU Starvation and OutOfMemory Error and sometime server failure while we access Role Binding tab in one of our very heavily used server.

Explaination ::
In IBM BPM 7.5 version, whenever you open Role Binding or Envrionment Variable Tab, Every 15 second product send a fresh request to get latest deatails regarding Role Binding and Environment Variables.
If system is having lots of data and request does not completes in 15 second, then another request will also be there in system. Each request needs Memory to hold data and CPU to process data. After some time there will be lots of request pending and processing in system that it will force JVM to throw OOM Exception and CPU to starve.

Solution ::
JR48822  is available for IBM BPM 7.5.1, IBM BPM 8.5.5 and IBM BPM 8.0.1.2

this is already included in next fixpack for all releases which area as given below,
Version 7.5.1 Fix Pack 2 for the IBM Business Process Manager products
Version 8.5 Refresh Pack 5 for the IBM Business Process Manager products