Out of CICS region pool storage 问题解决

今天客户反应说,有生产环境的CICS REGION宕机,并收集一些日志,查看最新的console.log日志输出,留意到日志存在大量的如下报错信息:

ERZ057034I/0057 06/20/18 09:43:53.902830375 CICSGDIC 31064156/0001 : Previous console file is ** /var/cics_regions/CICSGDIC/console.000028 **
ERZ010135I/0057 06/20/18 09:43:53.903028062 CICSGDIC 31064156/0001 : CICS region ‘CICSGDIC’ is being started with locale categories ‘en_US en_US en_US en_US en_US en_US’
ERZ048002I/0202 06/20/18 09:43:53.901212742 CICSGDIC 52035664/0001 : CICS is under stress. CICS is short on Run Time Support storage
ERZ048002I/0202 06/20/18 09:43:53.899373656 CICSGDIC 17629370/0001 : CICS is under stress. CICS is short on Run Time Support storage
ERZ048002I/0202 06/20/18 09:43:53.904713382 CICSGDIC 17629370/0001 : CICS is under stress. CICS is short on Run Time Support storage
ERZ048002I/0202 06/20/18 09:43:53.904870750 CICSGDIC 17629370/0001 : CICS is under stress. CICS is short on Run Time Support storage
ERZ048014I/0201 06/20/18 09:43:53.905173318 CICSGDIC 17629370/0001 : Out of CICS region pool storage.
ERZ048002I/0202 06/20/18 09:43:53.906450562 CICSGDIC 48693276/0001 : CICS is under stress. CICS is short on Run Time Support storage
ERZ048002I/0202 06/20/18 09:43:53.916179687 CICSGDIC 47775810/0001 : CICS is under stress. CICS is short on Run Time Support storage
ERZ048002I/0202 06/20/18 09:43:53.916352750 CICSGDIC 47775810/0001 : CICS is under stress. CICS is short on Run Time Support storage
ERZ048014I/0201 06/20/18 09:43:53.916652283 CICSGDIC 47775810/0001 : Out of CICS region pool storage.

从日志报错来看,应该是cics region pool 空间给用满,或者之前cics region pool定得过小,致使region pool storage 溢出,致使之后的CICS事务都不能正常给处理,因而宕机.

解决办法:

建议将RD.stanza文件中增大MaxRegionPool值 调大到100M,然后观察一段时间,看看故障情况是否继续出现.

CICS 进程 showProcInfo 函数堆栈信息的分析方法

对于运行慢或挂起的CICS进程cicsas,建议使用DEBUG工具showProcInfo获得进程的函数堆栈信息,分析进程挂起的原因。

首先使用命令 showProcInfo procid > procid.txt 获得挂起的cicsas进程的函数堆栈信息procid.txt。对堆栈信息文件的分析主要是看主线程(Thread 1)的函数堆栈,例如附录中的实例,在文件中找到关键字”Thread 1 “,其堆栈信息如下:

=== Thread 1 ===

ptrgl._ptrgl() at 0xd016ef90

raise.nsleep(??, ??) at 0xd018664c

raise.nsleep(??, ??) at 0xd018664c

sleep.sleep(??) at 0xd01e12d8

CheckPwd() at 0xd9387ce4

MUSER.main() at 0xd936d5f8

PinCA_StartC(0x2ff1d370, 0x200e335e, 0x200e3150, 0x7d00, 0x0) at 0xd23b82a4

TasPR_CallApplication() at 0xd206d404

TasPR_RunProgram(??) at 0xd206ccb4

TasPR_IRun(??, ??, ??, ??, ??, ??, ??, ??) at 0xd2067774

TasPR_Run(??) at 0xd20689a0

PinCA_Route(??) at 0xd2177988

TerEC_ServerECI() at 0xd223de4c

ComFS_APPCServ(??, ??) at 0xd223201c

TasTA_Exec(??, ??, ??, ??, ??, ??, ??, ??) at 0xd222584c

TasTA_Run(??, ??, ??, ??, ??, ??, ??) at 0xd22a2c28

conco_as.main(??, ??) at 0x10000d98

阅读更多

ERZ057001E/0277: Cannot access message catalog cics.cat for message ERZ096131I

今天在整理 普通用户SSH 到远程服务器并启停CICS时。总是遇到如下报错:

[root@co2 ~]# ssh wasadmin@192.168.179.11 ‘/home/wasadmin/FBM.sh’
wasadmin@192.168.179.11’s password:
ERZ058502I/0101: RPC daemon is already running.
ERZ057001E/0277: Cannot access message catalog cics.cat for message ERZ096131I
Please check if NLSPATH or LANG variable is set
ERZ057001E/0277: Cannot access message catalog cics.cat for message ERZ096160I
Please check if NLSPATH or LANG variable is set
ERZ057001E/0288: Cannot access message catalog cics.cat for message ERZ096135I
Please check if NLSPATH or LANG variable is set
ERZ057001E/0290: Cannot access message catalog cics.cat for message ERZ096134I
Please check if NLSPATH or LANG variable is set
ERZ057001E/0003: Cannot access message catalog cics.cat for message ERZ096002I
Please check if NLSPATH or LANG variable is set
ERZ058502I/0101: RPC daemon is already running.
ERZ057001E/0264: Cannot access message catalog cics.cat for message ERZ096122I
Please check if NLSPATH or LANG variable is set
ERZ057001E/0264: Cannot access message catalog cics.cat for message ERZ096158I
Please check if NLSPATH or LANG variable is set
ERZ057001E/0024: Cannot access message catalog cics.cat for message ERZ010013I
Please check if NLSPATH or LANG variable is set
ERZ057001E/0224: Cannot access message catalog cics.cat for message ERZ096111I
Please check if NLSPATH or LANG variable is set
ERZ057001E/0224: Cannot access message catalog cics.cat for message ERZ096141I
Please check if NLSPATH or LANG variable is set
ERZ057001E/0168: Cannot access message catalog cics.cat for message ERZ038214I
Please check if NLSPATH or LANG variable is set
ERZ057001E/0029: Cannot access message catalog cics.cat for message ERZ105102I
Please check if NLSPATH or LANG variable is set
ERZ057001E/0034: Cannot access message catalog cics.cat for message ERZ105107I
Please check if NLSPATH or LANG variable is set
ERZ057001E/0175: Cannot access message catalog cics.cat for message ERZ038216I
Please check if NLSPATH or LANG variable is set
ERZ057001E/0157: Cannot access message catalog cics.cat for message ERZ038272I
Please check if NLSPATH or LANG variable is set
ERZ057001E/0179: Cannot access message catalog cics.cat for message ERZ038219I
Please check if NLSPATH or LANG variable is set
ERZ057001E/0189: Cannot access message catalog cics.cat for message ERZ038228I
Please check if NLSPATH or LANG variable is set
ERZ057001E/0182: Cannot access message catalog cics.cat for message ERZ038182I
Please check if NLSPATH or LANG variable is set
ERZ057001E/0231: Cannot access message catalog cics.cat for message ERZ096113I
Please check if NLSPATH or LANG variable is set
ERZ057001E/0382: Cannot access message catalog cics.cat for message ERZ038216I
Please check if NLSPATH or LANG variable is set

阅读更多