原文: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