error: 2018/09/27 11:29:25 [warn] 4677#0: *9932666337 a client request body is buffered to a temporary file /data/apps/openresty//nginx/client_body_temp/0000565910, client: 100.116.251.28, server: driver.lenth.com.cn, request: "POST /api/v1/driver/log HTTP/1.1", host: "driver.lenth.com.cn"
这个需要设置增加client_body_buffer_size的大小。缓冲区设置小了,Nginx会把内容写到硬盘,这样会影响性能。于是在nginx.conf中增加如下fastcgi buffers参数设置:
client_body_buffer_size 128k;
这个值默认是16k(64位平台)
原文地址:http://blog.51cto.com/ipcpu/2286493
时间: 2024-10-31 03:28:37