原文:nginx warn an upstream response is buffered to a temporary file /var/cache/nginx/proxy_temp/ while reading upstream

最近管理的nginx發現大量的error log,log內容如下: an upstream response is buffered to a temporary file var cache nginx proxy temp while reading upstream 從這條error日志來看是nginx某一塊的buffer設置的太小,而response 包含response header和r ...

2018-01-24 10:39 1 5088 推薦指數:

查看詳情

nginx fastcgi_buffers to an upstream response is buffered to a temporary file

fastcgi_buffers 16 16k; 指定本地需要用多少和多大的緩沖區來緩沖FastCGI的應答,如上所示,如果一個php腳本所產生的頁面大小為256k,則會為其分配16個16k的緩沖區來緩存,如果大於256k,增大於256k的部分會緩存到fastcgi_temp指定的路徑中,當然這對 ...

Thu Mar 20 08:20:00 CST 2014 0 6733
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM