Code Monkey home page Code Monkey logo

Comments (5)

nnhy avatar nnhy commented on August 17, 2024 1

这是NameClient定时刷新Topic所在Broker信息,即使请求失败,也不影响已有Broker的正常使用。
除非Broker地址信息变更,同时NameClient又无法获取新的Broker信息。

从最后一行日志来看,CopyNow出现超时,往往因为这个程序非常繁忙。
可以朝这个方向去检查分析问题。

from newlife.rocketmq.

zbsBrave avatar zbsBrave commented on August 17, 2024

非常感谢。
我的程序是一个window console,功能只是监听消息队列并处理。
当出现这个异常时,整个日志中都是打印的都是这种内容,偶尔夹杂着连接超时的提示,这时已经接受不到消息并处理了,所以它在出现这种情况时其实并不繁忙。
然后这个程序是部署在一台虚拟的window server上,出现这个情况后,window server就陷入假死的状态,根本无法连接上。我无法判断是不是因为这个引起的,所以想在它出现这种异常时,直接把程序关掉。

from newlife.rocketmq.

nnhy avatar nnhy commented on August 17, 2024

如果是虚拟机遇到这种情况,根据你的描述,大概率就是这台虚拟机资源不足(宿主机没有资源供其调度)。
这个时候,虚拟机上的任何程序都将无法执行,包括你的应用和操作系统应用在内,所以恐怕你很难实现连不上的时候自动关闭。

from newlife.rocketmq.

nnhy avatar nnhy commented on August 17, 2024

你可以考虑在虚拟机上安装StarAgent,接入自己的星尘服务端。
在虚拟机性能不足的时候,StarAgent将会监控到,在调度资源恢复的时候,上报给服务端,起码我们有了一个抓手,能够得知系统资源的确紧张。

from newlife.rocketmq.

zbsBrave avatar zbsBrave commented on August 17, 2024

后续没出现这个问题了

from newlife.rocketmq.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.