为了账号安全,请及时绑定邮箱和手机立即绑定

client端未超时,nginx却报499

client端未超时,nginx却报499

叮当猫咪 2018-07-21 19:17:53
我利用ab压测nginx,nginx调用了后端的tomcat接口执行鉴权相关代码。从"ab --help"可知,ab对于每个请求默认的timeout时间为30s。从如下可知100%的请求在5s之内返回了,为何nginx的access.log中依然有大量请求报499呢?  Percentage of the requests served within a certain time (ms)      50%   3426       66%   3688       75%   3940       80%   3947       90%   3958       95%   3961       98%   3962       99%   4107      100%   4107 (longest request)补充一下,ab直接压测tomcat,不会出现如上client端自动断开连接的问题,看来应该是nginx的配置问题。
查看完整描述

2 回答

  • 2 回答
  • 0 关注
  • 1120 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信