Azure Function OnEventHub Microsoft.Azure.WebJobs.Script: Host thresholds exceeded: [Connections] RRS feed

  • Question

  • Hello,

    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?

    Monday, October 15, 2018 1:32 PM

All replies