Azure / Azure/azure-functions-host

Function app consumes a lot of resources event when functions are not triggered

Open
#2,679 16 comments 0 reactions 1 assignee Claimed by @tohling View on GitHub
Dominant language
C#
Stars
2k
Forks
482
Avg merge
2d 10h
Merged PRs (30d)
36

Description

- Function App version 1.0
- Function App name: https://btstaging-iot.azurewebsites.net/
- Region: SouthEast Asia

I have a function app with few functions. My function app is in consume plan (not App services plan). I develop and publish them from Visual Studio 2017 v 15.6.6. Today I have found out that the function app starts to constantly consumes around 60-70 Mb of memory right after I publish it from Visual studio. I also see constant in and out data (out is probably to storage account for logging). At the same time requests count stays at zero level (and I am not triggering this function by any way). This already resulted in increased bills for storage account because there were thousands of requests coming in (probably because of logging). Restarting the function app does not help. However, stopping it in the portal and then starting helps (still not clear if it helps in 100% of cases). Also, Application insights shows usage of 15+ servers. Again, I have to mentions, that all this happens when functions are not triggered at all.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.