Troubleshooting
Problem
You experience hangs in the logger address space and the CICSPlex SM address space (CMAS). Your CICS terminal owning region (TOR) and application owning regions (AORs) appear to be waiting on CICSPlex SM (CPSM). At shutdown, the CMAS region disconnects from the logstream and an automatic off-load to DASD is done.
Symptom
The sequence of events for this problem are as follows:
- Logger address space hangs.
- CMAS hangs.
- TOR and 2 AORs stall (appear to be waiting on CPSM).
- There are 4 CMAS regions and DFHLOG for two of these CMASs off-load to DASD and it does not off-load for the other 2 CMAS regions.
- At shutdown, the CMAS region disconnects from the logstream. Once everything is disconnected, an automatic off-load is done which takes 20 minutes.
Cause
System initialization table (SIT) parameter AKPFREQ was defined too large and the logstreams were defined too small.
Resolving The Problem
Change AKPFREQ from the default of 4000 to a smaller value like AKPFREQ=500 to allow CICS to trim the logstream more often. Also, consider increasing the size of the logstreams.
Following is a list of the BEFORE and AFTER sizes for the CICS TS logstreams being used in this particular case:
..........................................................................................................
BEFORE:
STRUCTURE NAME(LOG_DFHLOG_00B) SIZE(100000)
INITSIZE(50000)
REBUILDPERCENT(1)
PREFLIST(CF02, CF01)
STRUCTURE NAME(LOG_DFHSHUNT_00B) SIZE(100000)
INITSIZE(50000)
REBUILDPERCENT(1)
PREFLIST(CF02, CF01)
AFTER:
STRUCTURE NAME(LOG_DFHLOG_00B) SIZE(200000)
INITSIZE(200000)
REBUILDPERCENT(1)
PREFLIST(CF02, CF01)
STRUCTURE NAME(LOG_DFHSHUNT_00B) SIZE(100000)
INITSIZE(25000)
REBUILDPERCENT(1)
PREFLIST(CF02, CF01)
BEFORE:
DEFINE STRUCTURE NAME(LOG_DFHLOG_00B) LOGSNUM(100)
MAXBUFSIZE(64000) AVGBUFSIZE(2048)
DEFINE STRUCTURE NAME(LOG_DFHSHUNT_00B) LOGSNUM(100)
MAXBUFSIZE(64000) AVGBUFSIZE(4096)
AFTER:
DEFINE STRUCTURE NAME(LOG_DFHLOG_00B) LOGSNUM(20)
MAXBUFSIZE(64000) AVGBUFSIZE(2048)
DEFINE STRUCTURE NAME(LOG_DFHSHUNT_00B) LOGSNUM(20)
MAXBUFSIZE(64000) AVGBUFSIZE(4096)
BEFORE:
DEFINE LOGSTREAM NAME(SYSB.DFHLOG.MODEL) MODEL(YES)
STRUCTNAME(LOG_DFHLOG_00B) LS_STORCLAS(SYSTEM) HLQ(SYS2)
STG_DUPLEX(YES) DUPLEXMODE(COND) STG_STORCLAS(SYSTEM)
LOWOFFLOAD(75) HIGHOFFLOAD(95)
DEFINE LOGSTREAM NAME(SYSB.DFHSHUNT.MODEL) MODEL(YES)
STRUCTNAME(LOG_DFHSHUNT_00B) LS_STORCLAS(SYSTEM) HLQ(SYS2)
STG_DUPLEX(YES) DUPLEXMODE(COND) STG_STORCLAS(SYSTEM)
AFTER:
DEFINE LOGSTREAM NAME(SYSB.DFHLOG.MODEL) MODEL(YES)
STRUCTNAME(LOG_DFHLOG_00B) LS_STORCLAS(SYSTEM) HLQ(SYS2)
STG_DUPLEX(YES) DUPLEXMODE(COND) STG_STORCLAS(SYSTEM)
LOWOFFLOAD(75) HIGHOFFLOAD(95) LS_SIZE(64000)
DEFINE LOGSTREAM NAME(SYSB.DFHSHUNT.MODEL) MODEL(YES)
STRUCTNAME(LOG_DFHSHUNT_00B) LS_STORCLAS(SYSTEM) HLQ(SYS2)
STG_DUPLEX(YES) DUPLEXMODE(COND) STG_STORCLAS(SYSTEM)
LS_SIZE(64000)
Product Synonym
CICSPlex SM CICSPlexSM CPSM CP/SM CICS/TS CICS TS CICS Transaction Server
Was this topic helpful?
Document Information
Modified date:
22 February 2023
UID
swg21025060