Comments (5)
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.
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.
OK, thanks for the explanation.
from nservicebus.rabbitmq.
@mstavrev could you also open a support case with us so that we have a private channel to discuss anything sensitive?
from nservicebus.rabbitmq.
@mstavrev This is a duplicate of #1186 for which we are releasing a patch release.
from nservicebus.rabbitmq.
Related Issues (20)
- Investigate if ability to provide a custom ArrayPool can provide any performance benefit
- Expose ConnectionFactory.MaxMessageSize on the transport configuration API
- Stopping an endpoint floods the log with "Reconnecting to the broker failed: System.ObjectDisposedException" HOT 1
- Add automated tests that runs against AmazonMQ
- Add automated tests that runs against CloudAMQP
- Endpoint never reconnects to RabbitMQ after channel timeout HOT 7
- Multi target commandline to net6, net7 and newer
- Retries of headerless message causes indefinite requeuing on classic queues HOT 5
- Message loss in migrate-to-quorum command HOT 3
- Automatic rate limiting feature might cause duplicate messages HOT 1
- nsbVersion can't be computed in single file deployments HOT 2
- Messages go into infinite immediate retries in case there are a lot of messages (over 100) with persistent issue while processing. HOT 5
- ChannelProvider Publish reconnection attempts continue forever after IEndpointInstance had been stopped HOT 9
- Suppress creation of `nsb.v2.verify-stream-flag-enabled` queue HOT 2
- Ability to not have the delayed delivery infrastructure created
- Should we expose a way to configure the Consumer Acknowledgement Timeout HOT 1
- Immediate retry count does not increase for rabbit messages which are sent to queue without "message_id" property after upgrade to NServiceBus 8 HOT 5
- Enhance code readability and using .NET 8 new features HOT 1
- Vulnerabilities in transitive dependencies HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nservicebus.rabbitmq.