【Azure 应用服务】App Service运行时突然中断:There is not enough space on the disk : 'D:localTempASPNETCORE... - LuBu0505/My-Code GitHub Wiki

问题描述

App Service运行过程中,突然出现了 There is not enough space on the disk : 'D:localTempASPNETCORE_xxxxxx-xxxx-xxxx-xxxx-bb51xxxxxxxx.tmp'

问题分析

在云中的App Service文件存储容量,会根据使用App Service Plan的定价层有不同的大小。而错误消息中的D:\Local 表示的是App Service的临时目录。

  • 对Free, Shared定价层,它的大小为500MB。
  • 对Basic, Standard, Premium来说,有三种大小, 11GB, 15GB, 和58GB。 image.png

解决方案

D:\Local 是App Service上的临时文件,当重启实例时,D:\Local 中的所有文件都会清空。所以解决办法为:重启站点。

参考资料

Understanding the Azure App Service file system:https://github.com/projectkudu/kudu/wiki/Understanding-the-Azure-App-Service-file-system

当在复杂的环境中面临问题,格物之道需:浊而静之徐清,安以动之徐生。 云中,恰是如此!

分类: 【Azure 应用服务】

标签: App ServiceThere is not enough space on the disk