azure-service-bus icon indicating copy to clipboard operation
azure-service-bus copied to clipboard

Overflowing queue takes down the entire namespace

Open SeanFeldman opened this issue 2 years ago • 3 comments

Description

When a single queue exceeds its maximum size, any attempt to send another message queue will result in exception.

The maximum entity size has been reached or exceeded for 
Queue: '<namespace>:<entity>:<name>'. Size of entity in bytes:5368728747, 
Max entity size in bytes: 5368709120. 
For more information please see https://aka.ms/ServiceBusExceptions .  
QuotaType: EntitySize Reference:85752742-6758-42be-8079-1f3963762236, TrackingId:011eb4e10000001d087f55d5656249a6_Gxx_Bxx, SystemTracker:xxxx, Timestamp:xxxx (QuotaExceeded). 

For troubleshooting information, see https://aka.ms/azsdk/net/servicebus/exceptions/troubleshoot.

In addition to that, the namespace is rendered unusable.

Expected Behavior

At minimum, the namespace should be still usable despite a single queue reaching its maximum.

Ideally, the namespace should have a total size quota, shared among the entities. So if there are 10 queues and each is 5GB, the namespace quota to be 25GB. And if a single queue goes beyond the size but the overall size is less than the namespace size, avoid QuotaExceeded exceptions that potentially lead to production outages.

SeanFeldman avatar Nov 26 '23 22:11 SeanFeldman

Thank you for your feedback. We have opened an investigation task for this in our backlog, and will update this issue when we have more information.

EldertGrootenboer avatar Dec 05 '23 13:12 EldertGrootenboer

@SeanFeldman That is not expected. Is that premium or standard namespace? This is a service side issue. It would be good if you can create a support ticket with the details. If you can't create a ticket, please provide the namespace name, queue name and the time at which the issue occurred.

yvgopal avatar Dec 05 '23 19:12 yvgopal

@yvgopal, this was a standard namespace. I'll refer a client of mine to this issue and ask them to raise a support case referencing this issue.

SeanFeldman avatar Dec 05 '23 22:12 SeanFeldman

Closing this issue, as it was a specific instance of this issue which should be tracked through a support request.

EldertGrootenboer avatar Apr 26 '24 20:04 EldertGrootenboer