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

问题描述

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。

 

 

解决方案

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

posted @ 2022-04-27 19:40  路边两盏灯  阅读(110)  评论(0编辑  收藏  举报