Azure / azure-service-bus

☁️ Azure Service Bus service issue tracking and samples
https://azure.microsoft.com/services/service-bus
MIT License
585 stars 781 forks source link

The host is disposed and cannot be used when running process at Service bus #440

Closed sonnn1610 closed 2 years ago

sonnn1610 commented 3 years ago

I have an Azure Function triggered by Service Bus (standard plan). Most of the time it works OK, but when I do a load test with around 100 messages to a topic. the exception is thrown as below,

Actual Behavior

  1. Some processes have been stopped immediately, while some processes are still done.

Expected Behavior

  1. All processes should be done or move to DLQ if it's failed

Here is a detailed exception logs:

EldertGrootenboer commented 2 years ago

As this seems to be an issue in the Functions runtime, please open an issue at https://github.com/Azure/Azure-Functions/issues if this issue still occurs.