You can use separate thread pools to run undercover agents,
event subscriptions, and processes in designated queues in Event Manager.
You can run undercover agents and processes in both asynchronous and
synchronous queues, but you can only run event subscriptions in asynchronous
queues.
About this task
The
80EventManager.xml file contains
the default thread allocation. To control the number of threads assigned
to run processes, event subscriptions, and undercover agents, modify
the
100Custom.xml file. Note that if you increase
the number of threads, system performance can be affected.
Procedure
- Stop the IBM® Process
Server.
- Open the Event Manager system configuration file and your
local configuration file in text editors.
- PROFILE_HOME\config\cells\cell_name\nodes\node_name\servers\server_name\process-server\config\system\80EventManager.xml
- PROFILE_HOME\config\cells\cell_name\nodes\node_name\servers\server_name\process-server\config\100Custom.xml
- Copy the following section from the 80EventManager.xml file
to the 100Custom.xml file.
<!-- Number of tasks that can be loaded at one time for a sync queue -->
<sync-queue-capacity>10</sync-queue-capacity>
<! -- Number of simultaneous tasks that can execute on the async queue -->
<async-queue-capacity>10</async-queue-capacity>
<!-- Number of simultaneous tasks that can execute on the BPD queue -->
<bpd-queue-capacity>20</bpd-queue-capacity>
<!-- Number of simultaneous tasks that can execute on the system queue -->
<system-queue-capacity>10</system-queue-capacity>
- In the 100Custom.xml file, edit the
element. In the following example, the number of threads
is increased for each queue.
<event-manager merge="mergeChildren">
<scheduler merge="mergeChildren">
<!-- Number of tasks that can be loaded at one time for a sync queue -->
<sync-queue-capacity merge="replace>20</sync-queue-capacity>
<! -- Number of simultaneous tasks that can execute on the async queue -->
<async-queue-capacity merge="replace>20</async-queue-capacity>
<!-- Number of simultaneous tasks that can execute on the BPD queue -->
<bpd-queue-capacity merge="replace>30</bpd-queue-capacity>
<!-- Number of simultaneous tasks that can execute on the system queue -->
<system-queue-capacity merge="replace>20</system-queue-capacity>
</scheduler>
</event-manager>
- Save your changes, and then close both the 100Custom.xml file
and the 80EventManager.xml file.
- Start the IBM Process
Server.