As administrator, you can help prevent query overload and exhausted Java
virtual machine (JVM) heap space in Lifecycle Query Engine by suspending new
Read-transactions and Write-transactions to the index.
When heap suspension is
enabled, LQE monitors the JVM heap space utilization and, when the threshold (Heap Usage
Threshold) is exceeded, LQE suspends new activity. Any running activities are completed,
and the JVM enters a garbage collection state to reclaim unused memory. You can control the amount
of time that is allocated for this suspension by changing the Suspend Timeout
setting.
For long running or analytical queries, the Heap and Stack
Suspension should be enabled. As needed, you can adjust the values for Heap
Usage Threshold, Maximum Pending Writebacks, and Suspend
Timeout.
Procedure
-
On the LQE administration page, in the menu under Configuration, click
Advanced Properties.
-
To see a more comprehensive list of properties, click Show Internal.
-
In the Internal Properties Configuration section, click
Edit.
-
In the Query section, scroll down to the following properties:
- Maximum Pending Writebacks: The number of stacked journal writeback data
set views that must be reached before incoming Write-operations are suspended. The default is 200
stacked writeback views.
- Suspend Timeout: The maximum amount of time that incoming transactions
are suspended. The default is 90 seconds.
- Heap Usage Threshold: The threshold value that the JVM heap must reach
before incoming activities are suspended if Heap Suspension Enabled is enabled.
For example, if Heap Suspension Enabled is selected, and the Heap
Usage Threshold value is
0.85, all incoming activities are suspended
when the JVM heap utilization reaches 85 percent of the maximum heap space. The default is
0.85.
- Heap Suspension Enabled: If enabled, Lifecycle Query Engine activities
such as incoming queries are suspended when the heap space size reaches the percentage value that is
specified in Heap Usage Threshold. By default, it’s off.
- Stack Suspension Enabled: If enabled, Lifecycle Query Engine activities
such as base and change log indexing are suspended when the journal writeback data set stack views
reach the value that is specified in Maximum Pending Writebacks. By default,
it’s off.
-
To suspend LQE activities when the Heap Usage Threshold value is exceeded,
select the Heap Suspension Enabled check box.
-
To suspend the journal writeback data set stack views when the Maximum Pending
Writebacks value is exceeded, select the Stack Suspension Enabled
check box.
-
Restart the LQE server.