TMF Reference Manual (G06.24+)
TMFCOM Commands
HP NonStop TMF Reference Manual—522418-002
3-66
ALTER BEGINTRANS
either use SNOOP to lower the disconnect timer value and then reenter the ALTER
BEGINTRANS command with the same AUTOABORT timeout value, or reenter the
ALTER BEGINTRANS command with an AUTOABORT timeout value higher than
the present disconnect timer value.
The SNOOP utility is provided with the TMF product, and is documented in the file named
$SYSTEM.SYSnn.SNOOPDOC.
Examples
The following ALTER BEGINTRANS command directs TMF to disable transaction
processing if the transaction count rises above 1750, and to reenable it if the count
falls below 1450:
TMF 31> ALTER BEGINTRANS, TRANSCOUNTTHRESH (1450,1750)
The next ALTER BEGINTRANS command directs TMF to disable transaction
processing when the amount of processor memory allocatable to the TMP’s extended
segment rises above 85%, and to reenable it if the percentage falls below 80%:
TMF 32> ALTER BEGINTRANS, TMPMEMTHRESH (80,85)
The following ALTER BEGINTRANS command specifies that when the percentage of
processor memory allocated to TMFLIB reaches 90%, new transactions are disabled,
and when this percentage falls to 85%, new transactions are again enabled:
TMF 33> ALTER BEGINTRANS, TMFLIBMEMTHRESH (85,90)
The following ALTER BEGINTRANS command requests TMF to abort any transactions
that run longer than two minutes:
TMF 34> ALTER BEGINTRANS, AUTOABORT 2 MINUTES
The next ALTER BEGINTRANS command disables the autoabort feature for all
transactions:
TMF 35> ALTER BEGINTRANS, AUTOABORT 0
The ALTER BEGINTRANS command shown next changes the maximum number of
recoverable resource managers that can be registered to 128:
TMF 36> ALTER BEGINTRANS, RECRMCOUNT 128
The final ALTER BEGINTRANS command presented alters the maximum number of
open resource managers per processor to 32 and the maximum number of transaction
branches per resource manager to 16:
TMF 37> ALTER BEGINTRANS, RMOPENPERCPU 32, BRANCHESPERRM 16
Note. This problem occurs only if you change the disconnect timer setting from its default
value (30 seconds); that is, the AUTOABORT timeout value can be set lower than the
disconnect timer value if the disconnect timer value is not changed from its default.