查看nginx日志 发现有些时候$upstream_response_time特别长,如179.839秒, 但对应的后端tomcat的配置的超时就是20秒啊 那怎么还有这么长的upstream_response_time呢
$upstream_response_time
keeps time spent on receiving the response from the upstream server; the time is kept in seconds with millisecond resolution.
tomcat配置
connectionTimeout
The number of milliseconds this Connector will wait, after accepting a connection, for the request URI line to be presented. Use a value of -1 to indicate no (i.e. infinite) timeout.
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
nginx log里面显示的是毫秒,是不是你搞错时间单位了?