最新消息:

nginx三个容易引发“瓶颈”的点

nginx admin 5314浏览 0评论

keepalive_timeout 15s;

client_header_timeout 1m; 读取整个头的时间不能超过1分钟

send_timeout 1m; 客户端的连接还在,但是tengine这边发送缓冲区满了(客户端不读取数据,或者读取数据很慢),发不出去,如果超过60秒还没有发出去,就超时了。

proxy_connect_timeout 2s; nginx连接后端时,三次握手超过2s,就超时。
proxy_read_timeout 60s; 后端响应时间超过60s,就超时。

 

转载请注明:爱开源 » nginx三个容易引发“瓶颈”的点

您必须 登录 才能发表评论!