Azure-Functions
Azure-Functions copied to clipboard
[Premium] no space in disk error in function app
Describe the bug My function app is a docker file hosted on linux and running python script. this app need a lot of temp local disk volume about GB level. sometimes, it will run into error "no space in disk...". i changed to app service plan "P1V2", and this app plan should support "Storage 250 GB disk storage shared by all apps deployed in the App Service plan". but it still failed if the video is too big but not larger than 250GB.
To Reproduce Steps to reproduce the behavior:
- create a python function app;
- deploy to linux with docker container;
- if the script's temp folder is too big when processing, job will fail.
Expected behavior it should at least support 250G temp disk storage.
is there anyone who could answer my question?
Tagging @asavaritayal I suspect there is some container configuration that is limiting your maximum local file size.
I am also having this issue when deploying.
Application Info:
- Python 3.6
- 3.0 Functions Runtime
- EP2 App Service Plan
- Two identical premium Function Apps on the same app service plan (test and dev)
- Function Apps are using the Code publish option
- Function Apps are using customized linux docker image, but code updates are not published through the docker image. This image is just the base Python 3.6 Azure Functions image plus a few other apt-get packages we need.
- Custom docker image is about 2GB
When I deploy, it normally crashes during or right after pip install. That is when I get the "no space on device" error. Restarting the Function Apps I'm deploying to occasionally solves the problem but that's not an ideal process if we want to do continuous deployment.
@alexkarcher-msft @asavaritayal
Any update on the container configuration limiting maximum local file size?
We're on the EP2 plan which should provide us 250GB of space, so I'm thinking the "no space on device" is not related to the App Service Plan itself.
If it is indeed due to limited space within our custom container, how can I verify this is the issue?
I'm still having the same issue. Any updates?
Hello all, I have doubt about the 250G space. In premium plan, what does it mean for the 250G space? Does it belong to the storage account and be charged separately? Thank you.
@alexkarcher-msft any update on this? We are facing similar issue with low disk space available to be used - only ~14-16GB space available in home folder for Linux Function App on EP3 Plan in contrast to the Microsoft doc stating 250 GB available for EP3. https://docs.microsoft.com/en-us/azure/azure-functions/functions-premium-plan?tabs=portal#available-instance-skus
Application info:
- Python 3.6
- Functions Runtime version 3.0.15725.0
- App Service Plan: EP3
- Deployed using AzureFunctionAppContainer@1 task
- Two premium Function Apps on the same app service plan
- Size of Docker image ~ 2GB
how to fix this issue?