Welcome! Log In Create A New Profile

Advanced

Files still on disc after inactive time

February 15, 2018 04:33AM
Hi,

I use nginx 1.12.2. I have settings like this:
proxy_cache_path /ephemeral/nginx/cache levels=1:2 keys_zone=proxy-cache:4000m max_size=40g inactive=1d;
proxy_temp_path /ephemeral/nginx/tmp;

And I have two problems with this:
1. If during the download to the cache the connection is disconnected, the files that are not completely downloaded are left as junk in tmp and block the re-download to the cache of the given file.
2. Often, there are individual files that remain in the cache despite being inactive for more than one day. Restart nginx does not help.

Br
Andrzej Walas
Subject Author Posted

Files still on disc after inactive time

Andrzej Walas February 15, 2018 04:33AM

Re: Files still on disc after inactive time

Maxim Dounin February 15, 2018 08:40AM

Re: Files still on disc after inactive time

Andrzej Walas February 15, 2018 08:48AM

Re: Files still on disc after inactive time

Maxim Dounin February 15, 2018 09:40AM

Re: Files still on disc after inactive time

Andrzej Walas February 16, 2018 03:16AM

Re: Files still on disc after inactive time

pbooth February 16, 2018 04:28AM

Re: Files still on disc after inactive time

Andrzej Walas February 16, 2018 04:39AM

Re: Files still on disc after inactive time

Richard Stanway via nginx February 16, 2018 05:38AM

Re: Files still on disc after inactive time

Andrzej Walas February 16, 2018 06:15AM

Re: Files still on disc after inactive time

Maxim Dounin February 16, 2018 06:46AM

Re: Files still on disc after inactive time

Andrzej Walas February 19, 2018 04:38AM

Re: Files still on disc after inactive time

Maxim Dounin February 19, 2018 07:46AM

Re: Files still on disc after inactive time

Andrzej Walas February 26, 2018 03:32AM

Re: Files still on disc after inactive time

Andrzej Walas February 28, 2018 05:22AM

Re: Files still on disc after inactive time

Maxim Dounin February 28, 2018 08:44AM

Re: Files still on disc after inactive time

Grzegorz Ćwikliński March 21, 2018 05:52AM

Re: Files still on disc after inactive time

Maxim Dounin March 21, 2018 11:42AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 124
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