Welcome! Log In Create A New Profile

Advanced

Re: cache file has too long header

Sergey Kandaurov
September 24, 2019 05:26AM
> On 23 Sep 2019, at 20:09, rihad <nginx-forum@forum.nginx.org> wrote:
>
> Эта ошибка часто в логе для разных файлов. В гугле нашел что это решается
> увеличением proxy_buffer_size, но он и так у нас 8k.
> Подскажите как решить. Версия 1.16.1, OS FreeBSD 11.3. Из-за этой ошибки кеш
> игнорируется и ресурс запрашивается из апстрима, а это дорогой контент
> (google maps). Проблема только с этими ресурсами, другие кешируются
> нормально. Урл не такой уж и длинный, вроде.
>
> Пример ошибки:
> 2019/09/23 21:04:01 [crit] 95594#100948: *426913488 cache file
> "/usr/home/nginx/cache/myproj/maps/d/2d/28889e499a0f9ef187ba9fb63270c2dd"
> has too long header, client: 172.16.1.16, server: assets.example.com,
> request: "GET
> /maps/api/staticmap?key=AIzaSyBsXrvwBUBTrAMP0K-uCSJaH2cKU4xLPu4&markers=12.412358%2C53.823786&size=320x100&zoom=11
> HTTP/1.1", host: "assets.example.com", referrer:
> "https://example.com/foo/bar".

Сходил на вышеупомянутый ресурс, увидел в заголовке ответа:
vary: Accept-Language

Попробуйте этот патч (Node ID f727ed0e9f2f3e4706fa6444e8e3df0a21f8fa3a):
http://mailman.nginx.org/pipermail/nginx-devel/2018-January/010774.html

--
Sergey Kandaurov

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

cache file has too long header

rihad September 23, 2019 01:09PM

Re: cache file has too long header

Sergey Kandaurov September 24, 2019 05:26AM

Re: cache file has too long header

rihad September 24, 2019 05:31AM

Re: cache file has too long header

Sergey Kandaurov September 24, 2019 05:48AM

Re: cache file has too long header

rihad September 25, 2019 10:03AM

Re: cache file has too long header

rihad September 24, 2019 09:11AM

Re: cache file has too long header

rihad September 24, 2019 10:35AM

Re: cache file has too long header

rihad September 24, 2019 10:37AM

Re: cache file has too long header

rihad September 24, 2019 10:56AM

Re: cache file has too long header

Sergey Kandaurov September 24, 2019 09:56AM

Re: cache file has too long header

rihad October 27, 2019 07:05AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 76
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready