【发布时间】:2013-05-22 14:18:06
【问题描述】:
我们正在尝试使用队列管理器的多个连接句柄发布有关主题的消息。我们为此使用线程。 但是,当我们使用 50 个线程时,消息会正确发布到主题上,但是随着我们继续增加线程,比如 500,我们会得到以下原因代码 2071,2012,2538 用于某些线程,然后程序崩溃并给出原因代码剩余线程为 2059
I thought that may be due to restriction on the number of connection handle we are getting these errors. So I tried
1. adding channels stanza to qm.ini file
CHANNELS:
MaxChannels=<number>
MaxActiveChannels=<number>
2. altering MAXHANDS of my queuemanager to 2000
But found no luck in the above approaches.
Kindly help me in solving this issue.
PS. We have created our own Library for calling websphere MQ API.
Thanks,
Mandar.
【问题讨论】:
-
看起来像资源争用。你检查了 qmgr 错误日志吗?你检查过任何 FFST 吗?在所有这些错误之后,qmgr 是否仍在运行?