[QUERY] What is an acceptable range for MaxConcurrentSessions? #47356
Labels
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
issue-addressed
Workflow: The Azure SDK team believes it to be addressed and ready to close.
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Service Bus
Library name and version
Azure.Messaging.ServiceBus 7.17.3
Query/Question
What is an acceptable range for MaxConcurrentSessions?
It defaults to 8 in this SDK but in the older SDK I think it is ProcessorCount * 1000, which for our server is 64,000
In our current scenario, we seem to get up to maybe 500 sessions and then we stop getting any more sessions (and messages). Our queue just continues building up. This is surprising, as I would think our server could handle a lot more open sessions if they are all just waiting for messages.
Our application ends up not doing any message processing, and just waiting for the sessions to timeout before it can process any more messages.
Is this expected behaviour?
Environment
Windows Server 2022
.net 8
2 Processors (16 cores/32 threads)
Azure Service Bus Premium
The text was updated successfully, but these errors were encountered: