简体   繁体   English

如何解决此 MQ 的问题

[英]How do I troubleshoot problems with this MQ

https://i.stack.imgur.com/Sj3Jr.png

I use the command dis ql(WY) and see CURDEPTH is full, what should I do about it我使用命令 dis ql(WY) 并看到 CURDEPTH 已满,我该怎么办

Queue is full because there is no application consuming messages from it.队列已满,因为没有应用程序使用它的消息。 You can你可以

  1. Identify the application putting messages into this queue and determine if the messages were indented for this queue.识别将消息放入此队列的应用程序并确定消息是否缩进此队列。

  2. If the messages were meant for this queue, was there any application configured to consume messages from this queue?如果消息是针对此队列的,是否有任何应用程序配置为使用来自此队列的消息? If there was one, is the application running, if it is running why is it not consuming?如果有,应用程序是否正在运行,如果它正在运行,为什么它不消耗? if not why it is not running, start it.如果不是为什么它没有运行,请启动它。

  3. Clear the queue if you think messages are not important.如果您认为消息不重要,请清空队列。 Disable message put to this queue.禁用放入该队列的消息。

Edit:编辑:

Your screenshot shows IPPROCS(10) and OPPROCS(1) which means the queue is opened by 10 applications for GETting and 1 application for PUTting messages.您的屏幕截图显示 IPPROCS(10) 和 OPPROCS(1),这意味着队列由 10 个用于 GETting 的应用程序和 1 个用于 PUTting 消息的应用程序打开。 But still the queue is full.但是队列仍然满了。 It may be that application is not consuming messages but application is not reporting errors properly.可能是应用程序未使用消息,但应用程序未正确报告错误。

You can look at last message get date and time statistics on the queue using the DISPLAY QSTATUS command.您可以使用 DISPLAY QSTATUS 命令查看队列上的最后一条消息获取日期和时间统计信息。 Look here for details. 在这里查看详细信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM