Quantcast
Channel: Nginx Forum - Other discussion
Viewing all articles
Browse latest Browse all 972

Nginx (I assume) sometimes adds 5000ms to response time

$
0
0
Hello everyone!

There is a weird thing I noticed on one of the servers that act as proxy that's bugging me for hours and I can't figure it out. Some requests get served to client exactly 5000ms after the content is fetched from upstream

For example - request_time vs upstream_response_time:

5.791 0.791
5.202 0.202
6.125 1.125
5.360 0.360
5.106 0.105
5.329 0.329
5.293 0.293


It happens for a small percentage of requests and it usually comes in tiny "bursts" - it means I can see 5 such requests being served in a few seconds (its also higher possibility of higher delay but not exactly 5s in that timeframe) then everything is OK for a few minutes. I searched everywhere if there is some timeout configured in configs to 5 seconds or if there is some default nginx value set to 5 seconds but can't find anything. It happens on different cleints/networks.

Anyone has an idea how could I figure out what's going on?

Thanks!

Viewing all articles
Browse latest Browse all 972

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>