如果系统运行非常慢以及系统事件不起作用,那么 WebSphere MQ 发布/预订代理程序出现问题。
- 打开文件 /var/mqm/qmgrs/<queue manager name>/qm.ini
并且寻找下列项:
MaxActiveChannels=1000Broker:
如果您看到这项,用下列项替换 Channels 和 Broker 参数:
Channels:
MaxChannels=1000
MaxActiveChannels=1000
SyncPointIfPersistent=yes
- 保存您的更改
- 关闭 Business Integration Connect (请参阅下面的关闭)
- 通过以下步骤停止 WebSphere MQ:
- 停止发布/预订代理程序:
endmqbrk -m <hostname>.queue.manager
- 停止侦听器:
endmqlsr -m <hostname>.queue.manager
- 停止队列管理器:
endmqm <hostname>.queue.manager
- 使用 WebSphere Business Integration Connect 安装指南里的指示信息,创建和启动 WebSphere MQ。但是,
不执行过程中的步骤 2 到 4。
- 使用 WebSphere Business Integration Connect 安装指南里的指示信息,重新启动 Connect MQ。
