Skip to content

Queue Trigger - Consumption Plan - Goes to sleep and does not wake up #10508

Open
@MLRichmond

Description

@MLRichmond

Check for a solution in the Azure portal

We have a simple Azure Function that is running on a Consumption ASP. The function runs fine when initially deployed or when "poked" from the Azure Portal - but after a period of time, goes to sleep and does not wake up, even if new messages arrive in the corresponding queue.

Please provide the following:

  • Timestamp: 10/4/2024 2:50 PM CST
  • Function App version:
  • Function App name: KermitFunctions
  • Function name(s) (as appropriate): QueuePackager
  • Invocation ID:
  • Region: Central US

Repro steps

Provide the steps required to reproduce the problem:

  1. QueueTrigger function using Managed Identity and App Settings Connection information.
  2. Deploy function
  3. Add msg to queue
  4. Msg processes.
  5. Wait 20-30 minutes (AppInsights log will show several "Disposing ScriptHost" messages)
  6. Add msg to queue
  7. Msg is never processed.

Expected behavior

Expected that QueueTrigger would eventually wake up and process the incoming message.

Actual behavior

QueueTrigger never wakes up.

Known workarounds

Go to Azure Portal and view Function. It will wake up and process.

Related information

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions