Welcome! Log In Create A New Profile

Advanced

Re: Files still on disc after inactive time

Richard Stanway via nginx
February 16, 2018 05:38AM
> [alert] 11371#0: worker process 24870 exited on signal 9

This is almost certainly the cause of your problems - you need to figure
out why the nginx processes are crashing and resolve that. Most likely a
3rd party module is responsible.

On Fri, Feb 16, 2018 at 10:39 AM, Andrzej Walas <nginx-forum@forum.nginx.org
> wrote:

> For me 40-50 GB cache is ok, because I have multiple files like 2-5GB.
> Problem in my mind is this that I have settings:
> proxy_cache_path /ephemeral/nginx/cache levels=1:2
> keys_zone=proxy-cache:4000m max_size=40g inactive=1d;
> but I have over 40GB on disc and files older than 1 day inactive.
>
> Can you tell me what happend with downloaded part of files when I have:
> [error] 16082#0: *1264804 upstream prematurely closed connection while
> reading upstream
> [crit] 16082#0: *1264770 pwritev() <path> has written only 49152 of 151552
> while reading upstream
> This part of file is still on disc and don't deleted after error?
>
> On most of my proxy rate is 90% HIT to 9% MISS and 1% ERROR. But couple of
> them have stats like 10% HIT, 60% MISS, 30% ERROR.
>
> Sometimes I have problem with MISS on existing file. In logs I see 1 MISS,
> after that 10-20 HIT and after that only multiple MISS on this same file.
>
> Posted at Nginx Forum: https://forum.nginx.org/read.
> php?2,278589,278613#msg-278613
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
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: 232
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