客户给我发邮件,反映以下问题:也就是应用测试时,应用日志报错如下:
2018-09-27 08:53:40.688-0003 CSPS aosRecvMerc.c 261 IBMMQ_ERROR 11825914
CTISMQ00 k03201 8585228 31208821
连接MQ消息队列管理器[Css7806QMgr]失败
MQ Error:CompCode[2]MQRCMQCC_FAILED, Reason[2071]MQRC_STORAGE_NOT_AVAILABLE
经过分析,与搜索IBM 官网support网站,并且凭经验,综合分析,并给客户作出如下答复:
通过分析报错日志所得,针对以下问题,提出如下建议:
首先:
1、确认连接MQ的JAVA代码里,正确连接MQ 队列管理器。即队列管理器没有写错。
2、应用代码访问的MQ队列没有写错。也就是应用没有访问错误的MQ队列。
3、写入MQ 队列的报文不能太大,IBM官方建议写入队列的信息报文尽量不要超过4M,如果超过,请将报文分段写入MQ队列。
其次:
1、如果确认应用代码没有错误,并且读入MQ队列的报文没有超过4M,并且报文格式没有错误。那就按下面方法,调整系统文件大小限制和MQ 队列管理器的最大信息大小值:
如下所示:
*********************************************
- 1、In /etc/security/limits, increase the “data” ulimit for the account used to start the queue manager (usually root) to 192 MB or greater. Setting the data segment size (ulimit -d) to unlimited will resolve the issue. Note that the value is configured in 512 byte blocks, and -1 means unlimited.
- 2、In runmqsc, decrease the queue manager’s MAXMSGL attribute to something like 33554432, depending on the “data” ulimit value.
以下文章点击率最高
Loading…