Re: Nginx cache file is too small

2021-04-22 Thread Maxim Dounin
Hello! On Thu, Apr 22, 2021 at 04:51:59AM -0400, kkobylyanskiy wrote: > I'm using Nginx as a reverse-proxy to cache my POST request and wrote the > following config: [...] > proxy_cache_key "$request_uri|$request_body"; [...] > client_body_buffer_size 512k; [.

Re: Nginx cache file is too small

2021-04-22 Thread kkobylyanskiy
It seems like the this error happens only if request body > 64k Posted at Nginx Forum: https://forum.nginx.org/read.php?2,291344,291347#msg-291347 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Nginx cache file is too small

2021-04-22 Thread kkobylyanskiy
Hi, I'm using Nginx as a reverse-proxy to cache my POST request and wrote the following config: http { gzip on; gzip_proxied any; gzip_types text/plain application/json; gzip_min_length 1000; proxy_cache_path /var/cache/nginx levels=1:2 keys_zone=FLOWS:100m inactive=24h max_si

Re: cache file is too small

2016-12-29 Thread Maxim Dounin
Hello! On Thu, Dec 29, 2016 at 12:50:36AM -0500, omkar_jadhav_20 wrote: > I am using nginx running with version 1.10.2 > Also could you please suggest what is the permanent solution for this also The message suggests the cache directory was used with nginx 1.11.6+. If this is not something you

Re: cache file is too small

2016-12-28 Thread omkar_jadhav_20
Hi , I am using nginx running with version 1.10.2 Also could you please suggest what is the permanent solution for this also what does exactly use_temp_path does? Should we keep it explicitly on , we have not set this directive in our nginx.conf. Below is sample nginx.conf for your reference , ki

Re: cache file is too small

2016-12-28 Thread Maxim Dounin
Hello! On Wed, Dec 28, 2016 at 05:25:49AM -0500, omkar_jadhav_20 wrote: > Hi, > > I am using nginx 1.10.2. We are getting continuous error as 'cache file is > too small': > 2016/12/28 15:49:38 [crit] 55253#55253: cache file > "/cache/12003/2/c3/4ab93b7d3126d7

cache file is too small

2016-12-28 Thread omkar_jadhav_20
Hi, I am using nginx 1.10.2. We are getting continuous error as 'cache file is too small': 2016/12/28 15:49:38 [crit] 55253#55253: cache file "/cache/12003/2/c3/4ab93b7d3126d7f7f79487c6dc9dbc32.0579642579" is too small Below is the config line set for 12003 : proxy_cache_