gpt4 book ai didi

ibm-mq - WebSphere MQ 接收器 channel 已暂停

转载 作者:行者123 更新时间:2023-12-02 03:57:49 28 4
gpt4 key购买 nike

我想我试图启动一个已经在运行的 channel 或其他什么。每当我启动发送方 channel 时,接收方 channel 就会进入暂停状态。 I looked it up并找到了有关 AdoptNewMCA 配置的信息,但不确定如何在队列管理器级别进行设置。我该如何顺利解决这个问题。仅仅停止和重新启动 channel 并不能做到这一点。

错误日志说:

/02/2012 12:38:41 PM - Process(19161.269) User(mqm) Program(amqrmppa)
Host() Installation(Installation1)
VRMF(7.1.0.0) QMgr(QM_TEST2)

AMQ9514: Channel 'QM_TEST1.TO.QM_TEST2' is in use.

EXPLANATION: The requested operation failed because channel
''QM_TEST1.TO.QM_TEST2' is currently active. ACTION: Either end the channel
manually, or wait for it to close, and retry the operation.
----- amqrcsia.c : 1042 -------------------------------------------------------
08/02/2012 12:38:41 PM - Process(19161.269) User(mqm) Program(amqrmppa)
Host(...) Installation(Installation1)
VRMF(7.1.0.0) QMgr(QM_TEST2)

AMQ9999: Channel ''QM_TEST1.TO.QM_TEST2' to host '17.2.33.44' ended abnormally.

EXPLANATION: The channel program running under process ID 19161 for
channel ''QM_TEST1.TO.QM_TEST2' ended abnormally. The host name is
'17.2.33.44'; in some cases the host name cannot be
determined and so is shown as '????'. ACTION: Look at previous error
messages for the channel program in the error logs to determine the
cause of the failure. Note that this message can be excluded
completely or suppressed by tuning the "ExcludeMessage" or
"SuppressMessage" attributes under the "QMErrorLog" stanza in qm.ini.
Further information can be found in the System Administration Guide.
----- amqrmrsa.c : 887 --------------------------------------------------------

最佳答案

在查找这些内容时,我会先从产品手册开始。在这种情况下,关于 channel 的信息中心主题 says that处于 PAUSED 状态的 channel 正在等待重试间隔。 sub-topic on channel errors解释了为什么发送或接收 channel 可以重试:

If a channel is unable to put a message to the target queue because that queue is full or put inhibited, the channel can retry the operation a number of times (specified in the message-retry count attribute) at a time interval (specified in the message-retry interval attribute). Alternatively, you can write your own message-retry exit that determines which circumstances cause a retry, and the number of attempts made. The channel goes to PAUSED state while waiting for the message-retry interval to finish.



因此,如果您停止 channel ,您应该会在发送方的 XMitQ 中看到一条消息。如果您启用该队列,您可以浏览消息,查看标题并查看它的目的地是哪个队列。在接收端,查看该队列是否已满。

经典的快速发送者,缓慢的消费者问题。如果消费者跟不上,消息在接收 QMgr 上备份,然后 channel 重试并开始在发送 QMgr 上备份。必须监控请求队列的深度和输入句柄。

关于ibm-mq - WebSphere MQ 接收器 channel 已暂停,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11782363/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com