PUSH-000503:调用 Client.isSubscribed 时出现 MultiplexerBlockedException

PUSH-000503: MultiplexerBlockedException while calling Client.isSubscribed

有时我在检查某个主题的 isSubscribed 时遇到以下异常。

检查条件:Client.isSubscribed(topic)

异常:com.pushtechnology.diffusion.multiplexer.MultiplexerBlockedException

此异常在 logs/Server.log 中表现为 PUSH-000503,描述为

A blocking operation failed because the multiplexers failed to process it within {} milliseconds

该超时的默认值为 30 秒,这是多路复用器等待的生命周期。 The manual says the following: "This indicates that the server is severely overloaded or deadlocked".

另请注意,不支持 v5.5 版本,建议您在尝试复制之前升级。