Coder Social home page Coder Social logo

Comments (5)

SzymonPobiega avatar SzymonPobiega commented on July 23, 2024

Hi

Thanks for raising the issue. Does removing the critical action handler constitute a viable workaround for you? The NServiceBus transports have been designed to handle connection issues in a graceful manner so just removing the critical action handler should be fine. The transport will not consume significant resources while trying to re-connect.

In the meantime we'll look into how we could fix the underlying problem.

from nservicebus.rabbitmq.

mstavrev avatar mstavrev commented on July 23, 2024

Hello,

This is a partial way to deal with the problem, but not entirely. We are bringing up and down endpoints depending on some business logic. E.g. the life-time of endpoints do not coincide with the life-time of the hosting process.
Because of that, it is possible for a broker to becomes inaccessible before our logic no longer needs to work with it and stop the endpoint. That means the endless loop (causing high CPU usage) may be still triggered. The only "work-around" would be not to stop a no longer needed endpoint, but instead leaving it dangling (having its pump operating in the background). That however, may lead to other problems, as if the broker becomes eventually online the endpoint may restore message consumption where this is no longer intended.

I understand the concept of NServiceBus is more towards decomposing the workload on separate, independent, self-hosted bus-oriented instances, where such an error ideally would terminate the hosting process. However, it isn't something we can go for at the moment.

from nservicebus.rabbitmq.

SzymonPobiega avatar SzymonPobiega commented on July 23, 2024

OK, thanks for the explanation.

from nservicebus.rabbitmq.

SzymonPobiega avatar SzymonPobiega commented on July 23, 2024

@mstavrev could you also open a support case with us so that we have a private channel to discuss anything sensitive?

from nservicebus.rabbitmq.

ramonsmits avatar ramonsmits commented on July 23, 2024

@mstavrev This is a duplicate of #1186 for which we are releasing a patch release.

from nservicebus.rabbitmq.

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.