Category: azure functions
Jindrich Pastorek on Mon, 15 Oct 2018 13:32:00
I have OnEventHub Azure functions which collects data from Iot hub and stores it to Azure Sql Database and also to Azure Tables. It is second time (after about 3 days of correct working) Azure Function stop working and in Azure Portal - Azure Function I so this message:
"Error: The function runtime is unable to start. Microsoft.Azure.WebJobs.Script: Host thresholds exceeded: [Connections]. For more info..."
I use Entity Framework 6.0. I use DbContext inside using block. It only calls upsert stored procedure.
I tried to increase Max Pool Size to 300 in connection string but it happend again.
Can you help me somehow?
Would it be better to use DbContext in singleton somehow?
António Sérgio Azevedo - MSFT on Thu, 18 Oct 2018 09:35:00
I am moving this to Azure Functions Forum where this question can be better addressed. Thanks!
Ling Toh on Thu, 18 Oct 2018 18:25:50
The error message should have a link to a document that explains why this is happening and the recommended fix. The link in the error messages should be This is the link you should see in the error message. https://aka.ms/functions-thresholds