Welcome! Log In Create A New Profile

Advanced

Re: behavior of cache manager in version 1.10.3

Maxim Dounin
May 16, 2017 09:22AM
Hello!

On Tue, May 16, 2017 at 12:45:50AM -0400, Michael Corn wrote:

> One more question relating to cache cleaning. If I use version 1.11.5 or
> greater, and
> I set manager_sleep to a small number, say 50ms, And I set
> use_temp_path=off.
> Now, I start receiving a large file from the upstream, let's say it will
> take 10 seconds to receive it.
> Will the cache_manager see the cache exceeding its max_size before the
> entire new file has been received and start
> cleaning up older entries from the cache in parallel to the new file being
> received?
> Or will it not take the size of this new file into account until it has been
> completely received?

Temporary files are not taken into account by the cache manager
process, regardless of the use_temp_path setting.

--
Maxim Dounin
http://nginx.org/
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

behavior of cache manager in version 1.10.3

Michael Corn May 15, 2017 08:02AM

Re: behavior of cache manager in version 1.10.3

Maxim Dounin May 15, 2017 09:42AM

Re: behavior of cache manager in version 1.10.3

Michael Corn May 16, 2017 12:45AM

Re: behavior of cache manager in version 1.10.3

Maxim Dounin May 16, 2017 09:22AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 212
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready