STALE responses taking as much as MISS responses
peter_booth at me.com
Mon Feb 11 19:27:05 UTC 2019
You are specifying a key zone that can hold about 80 million keys,
and three level cache. Do you really have that many cached files?
Unless you are serving petabytes of content, I’d suggest reverting your settings to default values
and running some test cases to validate correct caching behavior.
> On 11 Feb 2019, at 2:00 PM, Peter Booth <peter_booth at me.com> wrote:
> You should be able to answer this by tailing the log of your nginx and orig server at the same time.
> It would be helpful if you shared an (anonymized) section of both logs. When I say fast or slow
> I might mean something very different to what you hear.
>> On 11 Feb 2019, at 10:06 AM, joao.pereira <nginx-forum at forum.nginx.org <mailto:nginx-forum at forum.nginx.org>> wrote:
>> Just to add more information, I also have:
>> proxy_cache_use_stale error
>> proxy_cache_background_update on;
>> Posted at Nginx Forum: https://forum.nginx.org/read.php?2,282984,282985#msg-282985 <https://forum.nginx.org/read.php?2,282984,282985#msg-282985>
>> nginx mailing list
>> nginx at nginx.org <mailto:nginx at nginx.org>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx