Hi Sushi,
The Azure Service App (Linux plan) Premium v3 P0V3 provides 250GB of storage. However, this storage is not entirely allocated to your container's file system. It’s used by the underlying infrastructure and services that run your Web App, including the operating system, logs, temp files, etc.
When you SSH into your Web App and run df -h
, you’re seeing the file system of your Docker container, not the entire allocated storage. The overlay filesystem you’re seeing is the writable layer of your Docker container, and its size is not directly related to the storage provided by your App Service Plan.
To find what’s taking up most of the space, you might also need to look into other directories. The command du -sh /*
can be used to check the disk usage of all directories at the root level. This command can take a while to run on directories with many files.
If you’re looking to clear up space, you might want to consider the following:
- Logs: Ensure that your application does not generate excessive logs. Over time, these can consume a significant amount of space.
- Temp files: Some applications create temporary files that are not always cleaned up properly. Check your temp directories and clean them up if necessary.
- Old or unused files: Files can accumulate in your storage over time. Check for and remove any files that are no longer needed regularly.
Remember, it’s important to understand what files you delete when cleaning up space. Removing the wrong files can cause your application to stop working.
If you find this response helpful and it resolves your issue, please consider marking it as “Accepted” or giving it an upvote. This will help others in the community find the solution more easily.