Azure-Functions icon indicating copy to clipboard operation
Azure-Functions copied to clipboard

[Premium] no space in disk error in function app

Open muxiue opened this issue 5 years ago • 9 comments

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:

  1. create a python function app;
  2. deploy to linux with docker container;
  3. 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.

muxiue avatar Jul 15 '19 04:07 muxiue

is there anyone who could answer my question?

muxiue avatar Jul 16 '19 08:07 muxiue

Tagging @asavaritayal I suspect there is some container configuration that is limiting your maximum local file size.

alexkarcher-msft avatar Jul 16 '19 18:07 alexkarcher-msft

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.

marcd123 avatar Nov 11 '20 17:11 marcd123

@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?

marcd123 avatar Nov 16 '20 17:11 marcd123

I'm still having the same issue. Any updates?

johnnyd710 avatar Mar 04 '21 19:03 johnnyd710

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.

netcaf avatar Jun 06 '21 10:06 netcaf

@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 image

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

Anmol007 avatar Jun 22 '21 08:06 Anmol007

how to fix this issue?

vijetak avatar May 13 '22 05:05 vijetak