On AIX, WebSphere Event
Broker limits
32-bit DataFlowEngines to four 256 MB memory segments; that is, 1 GB. Normally
DataFlowEngine processes do not require more than 1 GB of the AIX address
space, therefore the DataFlowEngine executable file is linked to have a default
address space of four segments. However, you can extend the size of the AIX address space available to the DataFlowEngine
process by increasing the number of 256 MB memory segments available to it.
You can patch the DataFlowEngine to use more memory segments using the following
shell command: /usr/bin/echo '\0140\0\0\0'|dd of=executable_file_name bs=4 count=1 seek=19
conv=notrunc
This command creates a version
of the DataFlowEngine that uses six segments; that is, 1.5 GB.
Alternatively,
on
AIX 5.2 and above, you can achieve
the same result by using the
ldedit command:
ldedit -b maxdata:0x60000000 DataFlowEngine
The application of fix pack maintenance replaces the existing DataFlowEngine,
so if you have used the above process, repeat it after every fix pack installation.
Another
way of enabling the
AIX "large address
space" model is to set the environment variable
LDR_CNTRL:
export LDR_CNTRL=MAXDATA=0x10000000
start_process (for example, mqsistart brokername)
unset LDR_CNTRL
or
LDR_CNTRL=MAXDATA=0x40000000 mqsistart brokername
Each
increment in the value of MAXDATA and, therefore, the number
of segments, increases the process memory limit by 256 MB.