Java客户端应用程序MQ通道关闭问题(队列管理器资源耗尽)
我有一个连接到服务器上的队列管理器 (MQQueuemanger) 的 Java 客户端。 在服务器上运行几次应用程序后,队列管理器就会耗尽资源。 我从服务器管理员收到以下邮件, “CDT MQ 队列管理器 AEDMXXX 上的通道 APP.CLIENT 已停止。停止时,已识别出 91 个活动通道。我们必须在队列管理器 AEDMXXX 耗尽资源之前停止该通道。这不会影响只是您的应用程序,但在 AEDMXXX 上运行的所有其他应用程序请检查您的代码并确保您已正确关闭 EPS.CLIENT 完成此操作后请创建一个管理员票证,以便我们可以重新启动您的频道 APP.CLIENT。
该应用程序在 Domino 7 服务器中运行良好,但在升级到 Domino 8.5 后,问题开始出现。
如何解决这个问题?
I have a Java CLient that connects to the Queue manager (MQQueuemanger ) on the server .
The queue manager runs out of resources after few runs of the application on the server.
I get the following mail from the server admins,
"Your channel APP.CLIENT on CDT MQ Queue Manager AEDMXXX has been stopped. At the time it was stopped, 91 Active Channels were identified. We had to stop the channel before the Queue Manager AEDMXXX ran out of resources. This would have affected not just your application, but all other applications running on AEDMXXX. Please check your code and make sure you have closed EPS.CLIENT properly. Please create an admin ticket once you have done so, so that we can restart your channel APP.CLIENT. "
THis application was running fine in the Domino 7 server, but after the upgrade was done to Domino 8.5 the problem has started.
How to fix this problem?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
存在如此多的活动通道表明您的客户端应用程序没有关闭与队列管理器的连接。检查您的代码以查看工作完成后连接是否正确关闭。如果Domino 8.5中有连接池,请检查连接池的配置以查看是否正在创建新连接而不是重用可用连接。
增加 MaxActiveChannels 只会推迟该问题。最好找出原因并解决它。
Presence of so many active channels indicate that your client application is not closing connections to queue manager. Check your code to see if connections are being closed properly after job is done. If there is connection pooling in Domino 8.5, check the configuration of connection pooling to see if a new connection is being created instead of reusing available connection.
Increasing MaxActiveChannels will only postpone in the issue. It's better to identify the reason and fix it.
增加默认服务器通道连接的数量,或减少正在连接到应用程序的应用程序的 bean 大小。
Increase the number of default server channel connection, or decrease the bean size of the application which is connecting to the application.