The Tivoli Enterprise Portal Server process (KfwServices) is linked with the default memory model, which allows for data and stack of only 256 MB. In large environments, this can cause the portal server to crash at startup. In smaller environments, this may not cause a problem at startup, but may at some later point as more virtual storage is required. The problem can be predicted if the topas command shows KfwServices with PgSp value of 180-250 MB. If a smaller environment is close to that value, it may occur when large queries are being handled. If the topas output shows that KfwServices is nearing these values, the memory model should be changed in smaller environments as well as large ones.
Changing the memory model requires that KfwServices load header be modified. Also, changes must be made to DB2 configuration changes. Complete the following steps to make these changes. These steps use the default directory. Use the directory locations appropriate to your system.
To make the required memory model and DB2 configuration changes:
cd /opt/IBM/ITM/bin ./itmcmd agent stop cq
cd /opt/IBM/ITM/aix533/cq/bin cp KfwServices KfwServices.orig /usr/ccs/bin/ldedit -bmaxdata:0x80000000 KfwServices
dump -ov KfwServicesThis will display the maxdata value in KfwServices. Maxdata should show as:
maxSTACK maxDATA SNbss magic modtype 0x00000000 0x80000000 0x0003 0x010b 1L
cd /opt/IBM/ITM/config
EXTSHM=ON
cd /db2inst1/sqllib/adm db2stop
export EXTSHM=ON db2set DB2ENVLIST=EXTSHM db2set -all
EXTSHM=ON export EXTSHM
cd /db2inst1/sqllib/adm db2start
cd /opt/IBM/ITM/bin ./itmcmd agent start cq
For more information about using the large and very large address-space models to accommodate programs requiring data areas that are larger than those provided by the default address-space model, see http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.genprogc/doc/genprogc/lrg_prg_support.htm. For more information about using the EXTSHM environment variable to increate the number of share memory segments to which a single process can be attached, see http://publib.boulder.ibm.com/infocenter/db2luw/v8/index.jsp?topic.
[ Top of Page | Previous Page | Next Page | Contents | Index ]