简体   繁体   中英

Writing in /tmp in Azure app service linux with django

We have an Azure linux app service running django. When we upload a file to it that is greater than 2.5MB it written by default in the /tmp. When this happens we notice increase in response time from the app service before it eventually crash. Is there a restriction on writing in the /tmp for a linux web app? If so where can we write our temporary file? How could I make sure that the /tmp is in fact the issue? We don't want to increase FILE_UPLOAD_MAX_MEMORY_SIZE value of django. We looked at this documentation but it doesn't talk of any issue on the tmp for linux.

Are you using a App Service Linux in "Code" mode or "Container" mode? That will help frame the answer.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM