"No space left on device" for Linux code web app

Marijn Otte 65 Reputation points
2024-04-30T08:54:32.7266667+00:00

Hi,

I have problems with the disk space on an Azure Linux code web app:

root@4b4f04ea59044273ba0e6eab0e96f3cd:/home# touch test
touch: cannot touch 'test': No space left on device

However, df reports lots of space:

root@4b4f04ea59044273ba0e6eab0e96f3cd:/home# df -h
Filesystem                                                                             Size  Used Avail Use% Mounted on
overlay                                                                                 63G   16G   45G  26% /
tmpfs                                                                                   64M     0   64M   0% /dev
shm                                                                                     64M     0   64M   0% /dev/shm
tmpfs                                                                                  823M     0  823M   0% /sys/fs/cgroup
/dev/sdb3                                                                               63G   16G   45G  26% /etc/hosts
//10.0.160.21/volume-39-default/b43867f9bd3c23f297d1/4b6e585f538543ceaee7d1efdadebc8b 1000G  3.7G  997G   1% /home
tmpfs                                                                                  823M     0  823M   0% /proc/acpi
tmpfs                                                                                  823M     0  823M   0% /sys/firmware
tmpfs                                                                                  823M     0  823M   0% /proc/scsi

Our application takes 1 GB only. The app is on a free plan (we are testing the weba app on PHP 8).

How to solve this issue?

Thank you

Marijn

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,997 questions
{count} votes

Accepted answer
  1. TP 78,666 Reputation points
    2024-04-30T15:12:10.0466667+00:00

    Hi Marijn,

    Free tier only includes 1 GiB space. Based on your description that your app takes 1 GB and the error you are receiving when running touch, it would appear you have exceeded the quota limit of free plan.

    In the Azure portal, please navigate to your web app, on left expand App Service plan, click Quotas. Once the Quota information displays on right, click File system usage. This will show you the disk usage for your plan. Sample screenshot:

    qna linux web app disk quota

    I suggest scaling up to Basic B1, which includes 10 GiB space.

    Please click Accept Answer and upvote if the above was helpful.

    Thanks.

    -TP

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful